Share via


IConventionAnnotatable.RemoveAnnotation(String) Method

Definition

Removes the annotation with the given name from this object.

public Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation RemoveAnnotation (string name);
public Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? RemoveAnnotation (string name);
abstract member RemoveAnnotation : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation
Public Function RemoveAnnotation (name As String) As IConventionAnnotation

Parameters

name
String

The name of the annotation to remove.

Returns

The annotation that was removed.

Applies to