Aracılığıyla paylaş


AnnotatableBase.SetRuntimeAnnotation Yöntem

Tanım

Aşırı Yüklemeler

SetRuntimeAnnotation(String, Annotation, Annotation)

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.

SetRuntimeAnnotation(String, Object)

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.

SetRuntimeAnnotation(String, Annotation, Annotation)

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.

protected virtual Microsoft.EntityFrameworkCore.Infrastructure.Annotation SetRuntimeAnnotation (string name, Microsoft.EntityFrameworkCore.Infrastructure.Annotation annotation, Microsoft.EntityFrameworkCore.Infrastructure.Annotation? oldAnnotation);
abstract member SetRuntimeAnnotation : string * Microsoft.EntityFrameworkCore.Infrastructure.Annotation * Microsoft.EntityFrameworkCore.Infrastructure.Annotation -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
override this.SetRuntimeAnnotation : string * Microsoft.EntityFrameworkCore.Infrastructure.Annotation * Microsoft.EntityFrameworkCore.Infrastructure.Annotation -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Protected Overridable Function SetRuntimeAnnotation (name As String, annotation As Annotation, oldAnnotation As Annotation) As Annotation

Parametreler

name
String

Eklenecek ek açıklamanın anahtarı.

annotation
Annotation

Ayarlanacak ek açıklama.

oldAnnotation
Annotation

Değiştirilen ek açıklama.

Döndürülenler

Ayarlanan ek açıklama.

Şunlara uygulanır

SetRuntimeAnnotation(String, Object)

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.

public virtual Microsoft.EntityFrameworkCore.Infrastructure.Annotation SetRuntimeAnnotation (string name, object? value);
abstract member SetRuntimeAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
override this.SetRuntimeAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
Public Overridable Function SetRuntimeAnnotation (name As String, value As Object) As Annotation

Parametreler

name
String

Eklenecek ek açıklamanın anahtarı.

value
Object

Ek açıklamaya depolanacak değer.

Döndürülenler

Şunlara uygulanır