MetadataWorkspace.GetEdmSpaceType Method

 

Returns the Edm Space enumeration type mapped to the OSpace Type parameter.

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

NameDescription
System_CAPS_pubmethodGetEdmSpaceType(EnumType)

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

System_CAPS_pubmethodGetEdmSpaceType(StructuralType)

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


MetadataWorkspace.GetEdmSpaceType Method (EnumType)

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

public virtual EnumType GetEdmSpaceType(
	EnumType objectSpaceType
)

Parameters

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

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

Return Value

Type: System.Data.Entity.Core.Metadata.Edm.EnumType

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


MetadataWorkspace.GetEdmSpaceType Method (StructuralType)

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

public virtual StructuralType GetEdmSpaceType(
	StructuralType objectSpaceType
)

Parameters

objectSpaceType
Type: System.Data.Entity.Core.Metadata.Edm.StructuralType

A StructuralType that supplies the type in the object space.

Return Value

Type: System.Data.Entity.Core.Metadata.Edm.StructuralType

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