MetadataWorkspace.TryGetObjectSpaceType Method

Definition

Overloads

TryGetObjectSpaceType(EnumType, EnumType)

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

TryGetObjectSpaceType(StructuralType, StructuralType)

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

TryGetObjectSpaceType(EnumType, EnumType)

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

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public virtual bool TryGetObjectSpaceType (System.Data.Entity.Core.Metadata.Edm.EnumType edmSpaceType, out System.Data.Entity.Core.Metadata.Edm.EnumType objectSpaceType);
abstract member TryGetObjectSpaceType : System.Data.Entity.Core.Metadata.Edm.EnumType *  -> bool
override this.TryGetObjectSpaceType : System.Data.Entity.Core.Metadata.Edm.EnumType *  -> bool
Public Overridable Function TryGetObjectSpaceType (edmSpaceType As EnumType, ByRef objectSpaceType As EnumType) As Boolean

Parameters

edmSpaceType
EnumType

A EnumType object that represents the EdmType .

objectSpaceType
EnumType

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

Returns

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

Attributes

Applies to

TryGetObjectSpaceType(StructuralType, StructuralType)

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

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public virtual bool TryGetObjectSpaceType (System.Data.Entity.Core.Metadata.Edm.StructuralType edmSpaceType, out System.Data.Entity.Core.Metadata.Edm.StructuralType objectSpaceType);
abstract member TryGetObjectSpaceType : System.Data.Entity.Core.Metadata.Edm.StructuralType *  -> bool
override this.TryGetObjectSpaceType : System.Data.Entity.Core.Metadata.Edm.StructuralType *  -> bool
Public Overridable Function TryGetObjectSpaceType (edmSpaceType As StructuralType, ByRef objectSpaceType As StructuralType) As Boolean

Parameters

edmSpaceType
StructuralType

A StructuralType object that represents the EdmType .

objectSpaceType
StructuralType

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

Returns

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

Attributes

Applies to