Aracılığıyla paylaş


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

Tanım

Verilen anahtar altında depolanan çalışma zamanı ek açıklamasını ayarlar. Belirtilen ada sahip bir ek açıklama zaten varsa mevcut ek açıklamanın üzerine yazar.

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IAnnotatable.SetRuntimeAnnotation (string name, object? value);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IAnnotatable.SetRuntimeAnnotation (string name, object value);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.SetRuntimeAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
override this.Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.SetRuntimeAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
Function SetRuntimeAnnotation (name As String, value As Object) As IAnnotation Implements IAnnotatable.SetRuntimeAnnotation

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

Öznitelikler

Şunlara uygulanır