MetadataWorkspace.GetEdmSpaceType Method (EnumType)

.NET Framework (current version)

Returns a StructuralType object that represents the EdmType that matches the type supplied by the parameter objectSpaceType.

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

public EnumType GetEdmSpaceType(
	EnumType objectSpaceType


Type: System.Data.Metadata.Edm.EnumType

A T:System.Data.Metadata.Edm.EnumlType that supplies the type in the object space.

Return Value

Type: System.Data.Metadata.Edm.EnumType

A StructuralType object that represents the EdmType. If there is no matched type, this method returns null.

.NET Framework
Available since 4.5
Return to top