Sprache

AnnotatableBase.IAnnotatable.AddRuntimeAnnotation(String, Object) Methode

Definition

Fügt diesem Objekt eine Laufzeitanmerkung hinzu. Löst aus, wenn bereits eine Anmerkung mit dem angegebenen Namen vorhanden ist.

Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IAnnotatable.AddRuntimeAnnotation(string name, object value);
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IAnnotatable.AddRuntimeAnnotation(string name, object? value);
abstract member Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.AddRuntimeAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
override this.Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.AddRuntimeAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
Function AddRuntimeAnnotation (name As String, value As Object) As IAnnotation Implements IAnnotatable.AddRuntimeAnnotation

Parameter

name
String

Der Name der anmerkung, die hinzugefügt werden soll.

value
Object

Der Wert, der in der Anmerkung gespeichert werden soll.

Gibt zurück

Die neu hinzugefügte Anmerkung.

Implementiert

Gilt für: