MetadataWorkspace.TryGetEdmSpaceType Method
This method returns the Edm Space enumeration type mapped to the OSpace Type parameter.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | TryGetEdmSpaceType(EnumType, EnumType) | |
![]() | TryGetEdmSpaceType(StructuralType, StructuralType) | Returns a StructuralType object via the out parameter edmSpaceType that represents the EdmType that matches the type supplied by the parameter objectSpaceType . |
MetadataWorkspace.TryGetEdmSpaceType Method (EnumType, EnumType)
Returns a EnumType object via the out parameter edmSpaceType that represents the EdmType that matches the type supplied by the parameter objectSpaceType .
public virtual bool TryGetEdmSpaceType( EnumType objectSpaceType, out EnumType edmSpaceType )
Parameters
- objectSpaceType
-
Type:
System.Data.Entity.Core.Metadata.Edm.EnumType
A EnumType object that represents the object space type.
- edmSpaceType
-
Type:
System.Data.Entity.Core.Metadata.Edm.EnumType
When this method returns, contains a EnumType object that represents the EdmType . This parameter is passed uninitialized.
MetadataWorkspace.TryGetEdmSpaceType Method (StructuralType, StructuralType)
Returns a StructuralType object via the out parameter edmSpaceType that represents the EdmType that matches the type supplied by the parameter objectSpaceType .
public virtual bool TryGetEdmSpaceType( StructuralType objectSpaceType, out StructuralType edmSpaceType )
Parameters
- objectSpaceType
-
Type:
System.Data.Entity.Core.Metadata.Edm.StructuralType
A StructuralType object that represents the object space type.
- edmSpaceType
-
Type:
System.Data.Entity.Core.Metadata.Edm.StructuralType
When this method returns, contains a StructuralType object that represents the EdmType . This parameter is passed uninitialized.
Return Value
Type: System.Booleantrue if there is a type that matches the search criteria; otherwise, false.