AnnotatableBase.IReadOnlyAnnotatable.FindAnnotation(String) Method

Definition

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

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

Parameters

name
String

The name of the annotation to find.

Returns

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

Implements

Attributes

Applies to

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