MetadataWorkspace.GetEdmSpaceType Method
Returns the Edm Space enumeration type mapped to the OSpace Type parameter.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | GetEdmSpaceType(EnumType) | Returns a StructuralType object that represents the EdmType that matches the type supplied by the parameter objectSpaceType . |
![]() | GetEdmSpaceType(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 .
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.EnumTypeA 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 .
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.StructuralTypeA StructuralType object that represents the EdmType . If there is no matched type, this method returns null.