Annotatable.IAnnotatable.FindAnnotation(String) Method

Definition

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

C#
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IAnnotatable.FindAnnotation (string name);
C#
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IAnnotatable.FindAnnotation (string name);

Parameters

name
String

The key of the annotation to find.

Returns

The existing annotation if an annotation with the specified name already exists. Otherwise, null.

Implements

Attributes

Applies to

Produkt Versioner
Entity Framework Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0