TableExpressionBase.AddAnnotation(String, Object) Méthode

Définition

Ajoute une annotation à cet objet. Lève si une annotation portant le nom spécifié existe déjà.

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

Paramètres

name
String

Clé de l’annotation à ajouter.

value
Object

Valeur à stocker dans l’annotation.

Retours

Nouvelle expression avec l’annotation appliquée.

S’applique à