共用方式為


RuntimeModelConvention.Create(IModel) 方法

定義

根據提供的模型建立優化模型。

protected virtual Microsoft.EntityFrameworkCore.Metadata.RuntimeModel Create (Microsoft.EntityFrameworkCore.Metadata.IModel model);
abstract member Create : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Metadata.RuntimeModel
override this.Create : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Metadata.RuntimeModel
Protected Overridable Function Create (model As IModel) As RuntimeModel

參數

model
IModel

來源模型。

傳回

優化模型。

適用於