Condividi tramite


RuntimeAnnotatableBase.AddAnnotations Method

Definition

Overloads

AddAnnotations(IEnumerable<IAnnotation>)

Adds annotations to this object overriding any existing annotations with the same name.

AddAnnotations(IReadOnlyDictionary<String,Object>)

Adds annotations to this object overriding any existing annotations with the same name.

AddAnnotations(IEnumerable<IAnnotation>)

Source:
RuntimeAnnotatableBase.cs

Adds annotations to this object overriding any existing annotations with the same name.

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

Parameters

annotations
IEnumerable<IAnnotation>

The annotations to be added.

Applies to

AddAnnotations(IReadOnlyDictionary<String,Object>)

Source:
RuntimeAnnotatableBase.cs

Adds annotations to this object overriding any existing annotations with the same name.

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

Parameters

annotations
IReadOnlyDictionary<String,Object>

The annotations to be added.

Applies to