DbContext.Model 属性

定义

有关实体形状、实体之间的关系以及它们如何映射到数据库的元数据。

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

属性值

IModel

实现

Microsoft.EntityFrameworkCore.Internal.IDbContextDependencies.Model
属性

适用于