MetadataWorkspace.GetObjectSpaceType Method
The method returns the OSpace enumeration type mapped to the specified Edm Space Type.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | GetObjectSpaceType(EnumType) | Returns a StructuralType object that represents the object space type that matches the type supplied by the parameter edmSpaceType . |
![]() | GetObjectSpaceType(StructuralType) | Returns a StructuralType object that represents the object space type that matches the type supplied by the parameter edmSpaceType . |
MetadataWorkspace.GetObjectSpaceType Method (EnumType)
Returns a StructuralType object that represents the object space type that matches the type supplied by the parameter edmSpaceType .
Parameters
- edmSpaceType
- Type: System.Data.Entity.Core.Metadata.Edm.EnumType
Return Value
Type: System.Data.Entity.Core.Metadata.Edm.EnumTypeA StructuralType object that represents the Object space type. If there is no matched type, this method returns null.
MetadataWorkspace.GetObjectSpaceType Method (StructuralType)
Returns a StructuralType object that represents the object space type that matches the type supplied by the parameter edmSpaceType .
Parameters
- edmSpaceType
-
Type:
System.Data.Entity.Core.Metadata.Edm.StructuralType
A StructuralType object that represents the EdmType .
Return Value
Type: System.Data.Entity.Core.Metadata.Edm.StructuralTypeA StructuralType object that represents the Object space type. If there is no matched type, this method returns null.