MetadataWorkspace.GetEdmSpaceType Method

Definition

Returns a StructuralType object that represents the EdmType that matches the type supplied by the parameter objectSpaceType.

Overloads

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.

GetEdmSpaceType(EnumType)

Returns a StructuralType object that represents the EdmType that matches the type supplied by the parameter objectSpaceType.

public:
 System::Data::Metadata::Edm::EnumType ^ GetEdmSpaceType(System::Data::Metadata::Edm::EnumType ^ objectSpaceType);
public System.Data.Metadata.Edm.EnumType GetEdmSpaceType (System.Data.Metadata.Edm.EnumType objectSpaceType);
member this.GetEdmSpaceType : System.Data.Metadata.Edm.EnumType -> System.Data.Metadata.Edm.EnumType
Public Function GetEdmSpaceType (objectSpaceType As EnumType) As EnumType

Parameters

objectSpaceType
EnumType

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

GetEdmSpaceType(StructuralType)

Returns a StructuralType object that represents the EdmType that matches the type supplied by the parameter objectSpaceType.

public:
 System::Data::Metadata::Edm::StructuralType ^ GetEdmSpaceType(System::Data::Metadata::Edm::StructuralType ^ objectSpaceType);
public System.Data.Metadata.Edm.StructuralType GetEdmSpaceType (System.Data.Metadata.Edm.StructuralType objectSpaceType);
member this.GetEdmSpaceType : System.Data.Metadata.Edm.StructuralType -> System.Data.Metadata.Edm.StructuralType
Public 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