DbContext.Model Property

Definition

The metadata about the shape of entities, the relationships between them, and how they map to the database.

public virtual Microsoft.EntityFrameworkCore.Metadata.IModel Model { get; }
[get: System.Diagnostics.DebuggerStepThrough]
public virtual Microsoft.EntityFrameworkCore.Metadata.IModel Model { get; }
member this.Model : Microsoft.EntityFrameworkCore.Metadata.IModel
[<get: System.Diagnostics.DebuggerStepThrough>]
member this.Model : Microsoft.EntityFrameworkCore.Metadata.IModel
Public Overridable ReadOnly Property Model As IModel

Property Value

IModel

Implements

Microsoft.EntityFrameworkCore.Internal.IDbContextDependencies.Model
Attributes

Applies to