AnnotatableBase.CreateRuntimeAnnotation(String, Object) Method

Definition

Creates a new runtime annotation.

C#
protected virtual Microsoft.EntityFrameworkCore.Infrastructure.Annotation CreateRuntimeAnnotation (string name, object? value);

Parameters

name
String

The key of the annotation.

value
Object

The value to be stored in the annotation.

Returns

The newly created annotation.

Applies to

Produkt Versioner
Entity Framework Core 6.0, 7.0, 8.0, 9.0