AnnotatableBase.AddRuntimeAnnotations Method

Definition

Overloads

AddRuntimeAnnotations(IReadOnlyDictionary<String,Object>)

Adds runtime annotations to this object.

AddRuntimeAnnotations(IEnumerable<Annotation>)

Adds runtime annotations to this object.

AddRuntimeAnnotations(IReadOnlyDictionary<String,Object>)

Source:
AnnotatableBase.cs
Source:
AnnotatableBase.cs
Source:
AnnotatableBase.cs
Source:
AnnotatableBase.cs

Adds runtime annotations to this object.

C#
public virtual void AddRuntimeAnnotations (System.Collections.Generic.IReadOnlyDictionary<string,object?> annotations);

Parameters

annotations
IReadOnlyDictionary<String,Object>

The annotations to be added.

Applies to

Entity Framework Core 9.0 and other versions
Product Versions
Entity Framework Core 6.0, 7.0, 8.0, 9.0

AddRuntimeAnnotations(IEnumerable<Annotation>)

Source:
AnnotatableBase.cs
Source:
AnnotatableBase.cs
Source:
AnnotatableBase.cs
Source:
AnnotatableBase.cs

Adds runtime annotations to this object.

C#
public virtual void AddRuntimeAnnotations (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.Annotation> annotations);

Parameters

annotations
IEnumerable<Annotation>

The annotations to be added.

Applies to

Entity Framework Core 9.0 and other versions
Product Versions
Entity Framework Core 6.0, 7.0, 8.0, 9.0