共用方式為


ModelSnapshot.BuildModel(ModelBuilder) 方法

定義

在第一次要求模型快照集時,由 呼叫延遲 Model

protected abstract void BuildModel (Microsoft.EntityFrameworkCore.ModelBuilder modelBuilder);
abstract member BuildModel : Microsoft.EntityFrameworkCore.ModelBuilder -> unit
Protected MustOverride Sub BuildModel (modelBuilder As ModelBuilder)

參數

modelBuilder
ModelBuilder

ModelBuilder要用來建置模型的 。

適用於