共用方式為


RuntimeModelConvention.ProcessIndexAnnotations 方法

定義

更新將在唯讀物件上設定的索引批註。

protected virtual void ProcessIndexAnnotations (System.Collections.Generic.Dictionary<string,object?> annotations, Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Metadata.RuntimeIndex runtimeIndex, bool runtime);
abstract member ProcessIndexAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Metadata.RuntimeIndex * bool -> unit
override this.ProcessIndexAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Metadata.RuntimeIndex * bool -> unit
Protected Overridable Sub ProcessIndexAnnotations (annotations As Dictionary(Of String, Object), index As IIndex, runtimeIndex As RuntimeIndex, runtime As Boolean)

參數

annotations
Dictionary<String,Object>

要處理的批註。

index
IIndex

來源索引。

runtimeIndex
RuntimeIndex

將包含批註的目標索引。

runtime
Boolean

指出指定的注釋是否為執行時間批註。

適用於