IConventionIndexBuilder.HasNoAnnotation(String, Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
移除這個物件中帶有名字的註解。
public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder? HasNoAnnotation(string name, bool fromDataAnnotation = false);
abstract member HasNoAnnotation : string * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder
Public Function HasNoAnnotation (name As String, Optional fromDataAnnotation As Boolean = false) As IConventionIndexBuilder
參數
- name
- String
要移除的註解名稱。
- fromDataAnnotation
- Boolean
表示配置是否以資料註解方式指定。
傳回
IConventionIndexBuilder An 若標註已設定null,則繼續設定;否則。