共用方式為


RuntimeAnnotatableBase.AddRuntimeAnnotations Method

Definition

Overloads

AddRuntimeAnnotations(IEnumerable<Annotation>)

Adds runtime annotations to this object.

AddRuntimeAnnotations(IReadOnlyDictionary<String,Object>)

Adds runtime annotations to this object.

AddRuntimeAnnotations(IEnumerable<Annotation>)

Source:
RuntimeAnnotatableBase.cs

Adds runtime annotations to this object.

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))

Parameters

annotations
IEnumerable<Annotation>

The annotations to be added.

Applies to

AddRuntimeAnnotations(IReadOnlyDictionary<String,Object>)

Source:
RuntimeAnnotatableBase.cs

Adds runtime annotations to this 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))

Parameters

annotations
IReadOnlyDictionary<String,Object>

The annotations to be added.

Applies to