Dela via


ConventionAnnotatable.RemoveAnnotation(String) Method

Definition

Removes the given annotation from this object.

public virtual Microsoft.EntityFrameworkCore.Metadata.Internal.ConventionAnnotation RemoveAnnotation (string name);
public virtual Microsoft.EntityFrameworkCore.Metadata.Internal.ConventionAnnotation? RemoveAnnotation (string name);
override this.RemoveAnnotation : string -> Microsoft.EntityFrameworkCore.Metadata.Internal.ConventionAnnotation
Public Overridable Function RemoveAnnotation (name As String) As ConventionAnnotation

Parameters

name
String

The annotation to remove.

Returns

Microsoft.EntityFrameworkCore.Metadata.Internal.ConventionAnnotation

The annotation that was removed.

Applies to