MetadataWorkspace.GetEdmSpaceType Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetEdmSpaceType(StructuralType) |
Returns a StructuralType object that represents the EdmType that matches the type supplied by the parameter objectSpaceType . |
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 .
public virtual System.Data.Entity.Core.Metadata.Edm.StructuralType GetEdmSpaceType (System.Data.Entity.Core.Metadata.Edm.StructuralType objectSpaceType);
abstract member GetEdmSpaceType : System.Data.Entity.Core.Metadata.Edm.StructuralType -> System.Data.Entity.Core.Metadata.Edm.StructuralType
override this.GetEdmSpaceType : System.Data.Entity.Core.Metadata.Edm.StructuralType -> System.Data.Entity.Core.Metadata.Edm.StructuralType
Public Overridable Function GetEdmSpaceType (objectSpaceType As StructuralType) As StructuralType
Parameters
- objectSpaceType
- StructuralType
A StructuralType that supplies the type in the object space.
Returns
A StructuralType object that represents the EdmType . If there is no matched type, this method returns null.
Applies to
GetEdmSpaceType(EnumType)
Returns a StructuralType object that represents the EdmType that matches the type supplied by the parameter objectSpaceType .
public virtual System.Data.Entity.Core.Metadata.Edm.EnumType GetEdmSpaceType (System.Data.Entity.Core.Metadata.Edm.EnumType objectSpaceType);
abstract member GetEdmSpaceType : System.Data.Entity.Core.Metadata.Edm.EnumType -> System.Data.Entity.Core.Metadata.Edm.EnumType
override this.GetEdmSpaceType : System.Data.Entity.Core.Metadata.Edm.EnumType -> System.Data.Entity.Core.Metadata.Edm.EnumType
Public Overridable Function GetEdmSpaceType (objectSpaceType As EnumType) As EnumType
Parameters
- objectSpaceType
- EnumType
A System.Data.Metadata.Edm.EnumlType that supplies the type in the object space.
Returns
A StructuralType object that represents the EdmType . If there is no matched type, this method returns null.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for