語言

SqlServerRuntimeModelConvention.ProcessIndexAnnotations 方法

定義

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

protected override void ProcessIndexAnnotations(System.Collections.Generic.Dictionary<string,object?> annotations, Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Metadata.RuntimeIndex runtimeIndex, bool runtime);
override this.ProcessIndexAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Metadata.RuntimeIndex * bool -> unit
Protected Overrides 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

表示所給註解是否為執行時註解。

適用於