語言

ConventionAnnotatable.CreateAnnotation(String, Object) 方法

定義

建立新的註解。

protected override Microsoft.EntityFrameworkCore.Infrastructure.Annotation CreateAnnotation(string name, object? value);
protected override Microsoft.EntityFrameworkCore.Infrastructure.Annotation CreateAnnotation(string name, object value);
override this.CreateAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Protected Overrides Function CreateAnnotation (name As String, value As Object) As Annotation

參數

name
String

註解的鑰匙。

value
Object

註解中要儲存的值。

傳回

新建立的註解。

適用於