MetadataWorkspace.TryGetObjectSpaceType Method (EnumType, EnumType)

.NET Framework (current version)
 

Returns a EnumType object via the out parameter objectSpaceType that represents the type that matches the EdmType supplied by the parameter edmSpaceType.

Namespace:   System.Data.Metadata.Edm
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public bool TryGetObjectSpaceType(
	EnumType edmSpaceType,
	out EnumType objectSpaceType
)

Parameters

edmSpaceType
Type: System.Data.Metadata.Edm.EnumType

A EnumType object that represents the EdmType.

objectSpaceType
Type: System.Data.Metadata.Edm.EnumType

When this method returns, contains a EnumType object that represents the Object space type. This parameter is passed uninitialized.

Return Value

Type: System.Boolean

true if there is a type that matches the search criteria; otherwise, false.

.NET Framework
Available since 4.5
Return to top
Show: