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

源模型。

返回

优化模型。

适用于