Aracılığıyla paylaş


AnnotatableBase.IAnnotatable.AddRuntimeAnnotation(String, Object) Yöntem

Tanım

Bu nesneye bir çalışma zamanı ek açıklaması ekler. Belirtilen ada sahip bir ek açıklama zaten varsa oluşturur.

Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IAnnotatable.AddRuntimeAnnotation (string name, object? value);
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IAnnotatable.AddRuntimeAnnotation (string name, object value);
abstract member Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.AddRuntimeAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
override this.Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.AddRuntimeAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
Function AddRuntimeAnnotation (name As String, value As Object) As IAnnotation Implements IAnnotatable.AddRuntimeAnnotation

Parametreler

name
String

Eklenecek ek açıklamanın adı.

value
Object

Ek açıklamaya depolanacak değer.

Döndürülenler

Yeni eklenen ek açıklama.

Uygulamalar

Şunlara uygulanır