IReadOnlyAnnotatable.FindAnnotation(String) Method

Definition

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

C#
public Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation? 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.

Applies to

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