ConventionAnnotatable.RemoveAnnotation(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
移除該物件中給定的註解。
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
那個被移除的註解。