IAnnotatable.FindRuntimeAnnotation(String) 方法
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得具有指定名稱的執行時間批註,如果不存在,則傳 null
回 。
C#
public Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation? FindRuntimeAnnotation (string name);
abstract member FindRuntimeAnnotation : string -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
Public Function FindRuntimeAnnotation (name As String) As IAnnotation
- name
- String
要尋找之註解的名稱。
如果具有指定名稱的注釋已經存在,則為現有的執行時間批註。 否則為 null
。
產品 | 版本 |
---|---|
Entity Framework Core | 6.0, 7.0, 8.0, 9.0 |