ObjectItemCollection.GetClrType Method
Returns the underlying CLR type for the specified OSpace type argument.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | GetClrType(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. |
![]() | GetClrType(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.
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.