Annotatable.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 atar.

AddAnnotation(String, Object)

Bu nesneye bir ek açıklama ekler. Belirtilen ada sahip bir ek açıklama zaten varsa atar.

AddAnnotation(String, Annotation)

Bu nesneye bir ek açıklama ekler. Belirtilen ada sahip bir ek açıklama zaten varsa atar.

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

Annotation

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 atar.

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çıklamada depolanacak değer.

Döndürülenler

Annotation

Yeni eklenen ek açıklama.

Uygulamalar

Şunlara uygulanır