SqlServerRuntimeModelConvention.ProcessModelAnnotations 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
更新將在唯讀物件上設定的模型批註。
protected override void ProcessModelAnnotations (System.Collections.Generic.Dictionary<string,object?> annotations, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Metadata.RuntimeModel runtimeModel, bool runtime);
override this.ProcessModelAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Metadata.RuntimeModel * bool -> unit
Protected Overrides Sub ProcessModelAnnotations (annotations As Dictionary(Of String, Object), model As IModel, runtimeModel As RuntimeModel, runtime As Boolean)
參數
- annotations
- Dictionary<String,Object>
要處理的批註。
- model
- IModel
來源模型。
- runtimeModel
- RuntimeModel
將包含批註的目標模型。
- runtime
- Boolean
指出指定的注釋是否為執行時間批註。