Share via


ConventionAnnotatable.IConventionAnnotatable.RemoveAnnotation(String) Method

Definition

Removes the annotation with the given name from this object.

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation IConventionAnnotatable.RemoveAnnotation (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? IConventionAnnotatable.RemoveAnnotation (string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable.RemoveAnnotation : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation
override this.Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable.RemoveAnnotation : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation
Function RemoveAnnotation (name As String) As IConventionAnnotation Implements IConventionAnnotatable.RemoveAnnotation

Parameters

name
String

The name of the annotation to remove.

Returns

The annotation that was removed.

Implements

Attributes

Applies to