Bagikan melalui


Annotatable.CreateAnnotation(String, Object) Metode

Definisi

Membuat anotasi baru.

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

Parameter

name
String

Kunci anotasi.

value
Object

Nilai yang akan disimpan dalam anotasi.

Mengembalikan

Anotasi yang baru dibuat.

Berlaku untuk