Annotatable.CreateAnnotation(String, Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立新的註解。
protected virtual Microsoft.EntityFrameworkCore.Infrastructure.Annotation CreateAnnotation(string name, object value);
abstract member CreateAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
override this.CreateAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Protected Overridable Function CreateAnnotation (name As String, value As Object) As Annotation
參數
- name
- String
註解的鑰匙。
- value
- Object
註解中要儲存的值。
傳回
新建立的註解。