IConventionAnnotatable.RemoveAnnotation(String) Method

Definition

Removes the annotation with the given name from this object.

C#
public Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation RemoveAnnotation (string name);
C#
public Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? RemoveAnnotation (string name);

Parameters

name
String

The name of the annotation to remove.

Returns

The annotation that was removed.

Applies to

Product Versions
Entity Framework Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0