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用于生成模型的 。

适用于