共用方式為


ConventionAnnotatable.RemoveAnnotation(String) 方法

定義

從這個 物件中移除指定的批註。

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

參數

name
String

要移除的批註。

傳回

Microsoft.EntityFrameworkCore.Metadata.Internal.ConventionAnnotation

已移除的批註。

適用於