Bagikan melalui


AnnotatableBase.CreateRuntimeAnnotation(String, Object) Metode

Definisi

Membuat anotasi runtime baru.

protected virtual Microsoft.EntityFrameworkCore.Infrastructure.Annotation CreateRuntimeAnnotation (string name, object? value);
abstract member CreateRuntimeAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
override this.CreateRuntimeAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Protected Overridable Function CreateRuntimeAnnotation (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