IReadOnlyTypeBase.ClrType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).
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
Property Value
- Attributes
Remarks
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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework