MetadataWorkspace.GetObjectSpaceType Method

Definition

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

edmSpaceType
EnumType

A EnumType 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