ConventionAnnotatable.FindAnnotation(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得帶有名字的註解,若不存在則回 null 傳。
public virtual Microsoft.EntityFrameworkCore.Metadata.Internal.ConventionAnnotation? FindAnnotation(string name);
public virtual Microsoft.EntityFrameworkCore.Metadata.Internal.ConventionAnnotation FindAnnotation(string name);
override this.FindAnnotation : string -> Microsoft.EntityFrameworkCore.Metadata.Internal.ConventionAnnotation
Public Overridable Function FindAnnotation (name As String) As ConventionAnnotation
參數
- name
- String
要找到註解的關鍵。
傳回
Microsoft.EntityFrameworkCore.Metadata.Internal.ConventionAnnotation
若已有標註中已有指定名稱的註解。 否則為 null。