共用方式為


RuntimeAnnotatableBase.RemoveAnnotation(String) Method

Definition

Removes the given annotation from this object.

public virtual Microsoft.EntityFrameworkCore.Infrastructure.Annotation? RemoveAnnotation (string name);
abstract member RemoveAnnotation : string -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
override this.RemoveAnnotation : string -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Public Overridable Function RemoveAnnotation (name As String) As Annotation

Parameters

name
String

The annotation to remove.

Returns

The annotation that was removed.

Applies to