IMutableAnnotatable.AddAnnotation(String, Object) Yöntem

Tanım

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

public Microsoft.EntityFrameworkCore.Infrastructure.Annotation AddAnnotation (string name, object value);
public Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation AddAnnotation (string name, object value);
public Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation AddAnnotation (string name, object? value);
abstract member AddAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.Annotation
abstract member AddAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
Public Function AddAnnotation (name As String, value As Object) As Annotation
Public Function AddAnnotation (name As String, value As Object) As IAnnotation

Parametreler

name
String

Eklenecek ek açıklamanın adı.

value
Object

Ek açıklamaya depolanmış değer.

Döndürülenler

Annotation
IAnnotation

Yeni eklenen ek açıklama.

Şunlara uygulanır