Aracılığıyla paylaş


AnnotatableBase.AddAnnotation Yöntem

Tanım

Aşırı Yüklemeler

AddAnnotation(String, Annotation)

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

AddAnnotation(String, Object)

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

AddAnnotation(String, Annotation)

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

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

Parametreler

name
String

Eklenecek ek açıklamanın anahtarı.

annotation
Annotation

Eklenecek ek açıklama.

Döndürülenler

Eklenen ek açıklama.

Şunlara uygulanır

AddAnnotation(String, Object)

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

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

Yeni eklenen ek açıklama.

Şunlara uygulanır