語言

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

那個被移除的註解。

適用於