MetadataWorkspace.GetObjectSpaceType 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
GetObjectSpaceType(StructuralType) |
Returns a StructuralType object that represents the object space type that matches the type supplied by the parameter edmSpaceType . |
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 .
public virtual System.Data.Entity.Core.Metadata.Edm.StructuralType GetObjectSpaceType (System.Data.Entity.Core.Metadata.Edm.StructuralType edmSpaceType);
abstract member GetObjectSpaceType : System.Data.Entity.Core.Metadata.Edm.StructuralType -> System.Data.Entity.Core.Metadata.Edm.StructuralType
override this.GetObjectSpaceType : System.Data.Entity.Core.Metadata.Edm.StructuralType -> System.Data.Entity.Core.Metadata.Edm.StructuralType
Public Overridable Function GetObjectSpaceType (edmSpaceType As StructuralType) As StructuralType
Parameters
- edmSpaceType
- StructuralType
A StructuralType object that represents the EdmType .
Returns
A StructuralType object that represents the Object space type. If there is no matched type, this method returns null.
Applies to
GetObjectSpaceType(EnumType)
Returns a StructuralType object that represents the object space type that matches the type supplied by the parameter edmSpaceType .
public virtual System.Data.Entity.Core.Metadata.Edm.EnumType GetObjectSpaceType (System.Data.Entity.Core.Metadata.Edm.EnumType edmSpaceType);
abstract member GetObjectSpaceType : System.Data.Entity.Core.Metadata.Edm.EnumType -> System.Data.Entity.Core.Metadata.Edm.EnumType
override this.GetObjectSpaceType : System.Data.Entity.Core.Metadata.Edm.EnumType -> System.Data.Entity.Core.Metadata.Edm.EnumType
Public Overridable Function GetObjectSpaceType (edmSpaceType As EnumType) As EnumType
Parameters
Returns
A StructuralType object that represents the Object space type. 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