SelectExpression.AddAnnotation(String, Object) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Ajoute une annotation à cet objet. Lève si une annotation portant le nom spécifié existe déjà.
public override Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase AddAnnotation(string name, object? value);
override this.AddAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase
Public Overrides 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.