共用方式為


AnnotatableBase.AddRuntimeAnnotations 方法

定義

多載

AddRuntimeAnnotations(IReadOnlyDictionary<String,Object>)

將執行時間批註加入至這個物件。

AddRuntimeAnnotations(IEnumerable<Annotation>)

將執行時間批註加入至這個物件。

AddRuntimeAnnotations(IReadOnlyDictionary<String,Object>)

將執行時間批註加入至這個物件。

public virtual void AddRuntimeAnnotations (System.Collections.Generic.IReadOnlyDictionary<string,object?> annotations);
abstract member AddRuntimeAnnotations : System.Collections.Generic.IReadOnlyDictionary<string, obj> -> unit
override this.AddRuntimeAnnotations : System.Collections.Generic.IReadOnlyDictionary<string, obj> -> unit
Public Overridable Sub AddRuntimeAnnotations (annotations As IReadOnlyDictionary(Of String, Object))

參數

annotations
IReadOnlyDictionary<String,Object>

要加入的批註。

適用於

AddRuntimeAnnotations(IEnumerable<Annotation>)

將執行時間批註加入至這個物件。

public virtual void AddRuntimeAnnotations (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.Annotation> annotations);
abstract member AddRuntimeAnnotations : seq<Microsoft.EntityFrameworkCore.Infrastructure.Annotation> -> unit
override this.AddRuntimeAnnotations : seq<Microsoft.EntityFrameworkCore.Infrastructure.Annotation> -> unit
Public Overridable Sub AddRuntimeAnnotations (annotations As IEnumerable(Of Annotation))

參數

annotations
IEnumerable<Annotation>

要加入的批註。

適用於