MetadataWorkspace.TryGetEdmSpaceType Method (StructuralType, StructuralType)


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

Namespace:   System.Data.Metadata.Edm
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public bool TryGetEdmSpaceType(
	StructuralType objectSpaceType,
	out StructuralType edmSpaceType


Type: System.Data.Metadata.Edm.StructuralType

A StructuralType object that represents the object space type.

Type: System.Data.Metadata.Edm.StructuralType

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

Return Value

Type: System.Boolean

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

.NET Framework
Available since 3.5
Return to top