Sprache

AnnotatableBase.AddRuntimeAnnotation Methode

Definition

Überlädt

Name Beschreibung
AddRuntimeAnnotation(String, Annotation)

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

AddRuntimeAnnotation(String, Object)

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

AddRuntimeAnnotation(String, Annotation)

Quelle:
AnnotatableBase.cs
Quelle:
AnnotatableBase.cs
Quelle:
AnnotatableBase.cs
Quelle:
AnnotatableBase.cs
Quelle:
AnnotatableBase.cs
Quelle:
AnnotatableBase.cs

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

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

Parameter

name
String

Der Schlüssel der Anmerkung, die hinzugefügt werden soll.

annotation
Annotation

Die hinzuzufügende Anmerkung.

Gibt zurück

Die hinzugefügte Anmerkung.

Gilt für:

AddRuntimeAnnotation(String, Object)

Quelle:
AnnotatableBase.cs
Quelle:
AnnotatableBase.cs
Quelle:
AnnotatableBase.cs
Quelle:
AnnotatableBase.cs
Quelle:
AnnotatableBase.cs
Quelle:
AnnotatableBase.cs

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

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

Parameter

name
String

Der Schlüssel 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.

Gilt für: