Share via


MetadataWorkspace.TryGetEdmSpaceType Method

Definition

Overloads

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 .

TryGetEdmSpaceType(EnumType, EnumType)

Returns a EnumType object via the out parameter edmSpaceType that represents the EdmType that matches the type supplied by the parameter objectSpaceType .

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 .

public virtual bool TryGetEdmSpaceType (System.Data.Entity.Core.Metadata.Edm.StructuralType objectSpaceType, out System.Data.Entity.Core.Metadata.Edm.StructuralType edmSpaceType);
abstract member TryGetEdmSpaceType : System.Data.Entity.Core.Metadata.Edm.StructuralType *  -> bool
override this.TryGetEdmSpaceType : System.Data.Entity.Core.Metadata.Edm.StructuralType *  -> bool
Public Overridable Function TryGetEdmSpaceType (objectSpaceType As StructuralType, ByRef edmSpaceType As StructuralType) As Boolean

Parameters

objectSpaceType
StructuralType

A StructuralType object that represents the object space type.

edmSpaceType
StructuralType

When this method returns, contains a StructuralType object that represents the EdmType . This parameter is passed uninitialized.

Returns

true if there is a type that matches the search criteria; otherwise, false.

Applies to

TryGetEdmSpaceType(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 (System.Data.Entity.Core.Metadata.Edm.EnumType objectSpaceType, out System.Data.Entity.Core.Metadata.Edm.EnumType edmSpaceType);
abstract member TryGetEdmSpaceType : System.Data.Entity.Core.Metadata.Edm.EnumType *  -> bool
override this.TryGetEdmSpaceType : System.Data.Entity.Core.Metadata.Edm.EnumType *  -> bool
Public Overridable Function TryGetEdmSpaceType (objectSpaceType As EnumType, ByRef edmSpaceType As EnumType) As Boolean

Parameters

objectSpaceType
EnumType

A EnumType object that represents the object space type.

edmSpaceType
EnumType

When this method returns, contains a EnumType object that represents the EdmType . This parameter is passed uninitialized.

Returns

true on success, false on failure.

Applies to