ValidatingConvention.ProcessModelFinalized 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ProcessModelFinalized(IModel) |
在模型完成之後呼叫,且無法再進行變動。 |
ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>) |
在模型完成之後呼叫。 |
ProcessModelFinalized(IModel)
在模型完成之後呼叫,且無法再進行變動。
public virtual Microsoft.EntityFrameworkCore.Metadata.IModel ProcessModelFinalized (Microsoft.EntityFrameworkCore.Metadata.IModel model);
abstract member ProcessModelFinalized : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Metadata.IModel
override this.ProcessModelFinalized : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Metadata.IModel
Public Overridable Function ProcessModelFinalized (model As IModel) As IModel
參數
- model
- IModel
模型本身。
傳回
實作
適用於
ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)
在模型完成之後呼叫。
public virtual void ProcessModelFinalized (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder modelBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder> context);
abstract member ProcessModelFinalized : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder> -> unit
override this.ProcessModelFinalized : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder> -> unit
Public Overridable Sub ProcessModelFinalized (modelBuilder As IConventionModelBuilder, context As IConventionContext(Of IConventionModelBuilder))
參數
- modelBuilder
- IConventionModelBuilder
模型的產生器。
與慣例執行相關聯的其他資訊。