Share via


IReadOnlyTypeBase.ClrType Proprietà

Definizione

Ottiene la classe CLR usata per rappresentare le istanze di questo tipo. Restituisce null se il tipo non ha una classe CLR corrispondente (nota come tipo shadow).

public Type ClrType { get; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers]
public Type ClrType { get; }
member this.ClrType : Type
[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers>]
member this.ClrType : Type
Public ReadOnly Property ClrType As Type

Valore della proprietà

Attributi

Commenti

I tipi shadow non sono attualmente supportati in un modello usato in fase di esecuzione con un DbContextoggetto . Pertanto, i tipi shadow esistono solo negli snapshot del modello di migrazione e così via.

Si applica a