IEntityType.ClrType Property

Definition

Gets the CLR class that is used to represent instances of this type. Returns null if the type does not have a corresponding CLR class (known as a shadow type).

Shadow types are not currently supported in a model that is used at runtime with a DbContext. Therefore, shadow types will only exist in migration model snapshots, etc.

public Type ClrType { get; }
member this.ClrType : Type
Public ReadOnly Property ClrType As Type

Property Value

Implements

Applies to