ObjectItemCollection.GetClrType Method

 

Returns the underlying CLR type for the specified OSpace type argument.

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

NameDescription
System_CAPS_pubmethodGetClrType(EnumType)

The method returns the underlying CLR type for the specified OSpace type argument. If the DataSpace of the parameter is not OSpace, an ArgumentException is thrown.

System_CAPS_pubmethodGetClrType(StructuralType)

Returns the CLR type that corresponds to the StructuralType supplied by the objectSpaceType parameter.


ObjectItemCollection.GetClrType Method (EnumType)

The method returns the underlying CLR type for the specified OSpace type argument. If the DataSpace of the parameter is not OSpace, an ArgumentException is thrown.

[SuppressMessageAttribute("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
public Type GetClrType(
	EnumType objectSpaceType
)

Parameters

objectSpaceType
Type: System.Data.Entity.Core.Metadata.Edm.EnumType

The OSpace type to look up.

Return Value

Type: System.Type

The CLR type of the OSpace argument.


ObjectItemCollection.GetClrType Method (StructuralType)

Returns the CLR type that corresponds to the StructuralType supplied by the objectSpaceType parameter.

[SuppressMessageAttribute("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
public Type GetClrType(
	StructuralType objectSpaceType
)

Parameters

objectSpaceType
Type: System.Data.Entity.Core.Metadata.Edm.StructuralType

A StructuralType that represents the object space type.

Return Value

Type: System.Type

The CLR type of the OSpace argument.