AnnotatableBase.GetAnnotation(String) Method

Definition

Gets the annotation with the given name, throwing if it does not exist.

C#
public virtual Microsoft.EntityFrameworkCore.Infrastructure.Annotation GetAnnotation (string annotationName);

Parameters

annotationName
String

The key of the annotation to find.

Returns

The annotation with the specified name.

Applies to

Product Versions
Entity Framework Core 6.0, 7.0, 8.0, 9.0