JsonQueryExpression.FindJsonElement(IPropertyBase) 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.
Recherche la IRelationalJsonElement propriété/la navigation/la propriété complexe donnée dans la colonne JSON référencée par cette expression en faisant correspondre JsonColumn's sous-jacent ColumnContainingColumnà , ou retourne null si aucun élément de ce type n’existe (y compris lorsqu’il JsonColumn n’existe pas de sous-jacent Column, par exemple pour les expansions JSON synthétiques sur OPENJSON / json_each, ou pour les propriétés itérées telles que les clés d’ombre qui n’ont aucune représentation JSON).
public virtual Microsoft.EntityFrameworkCore.Metadata.IRelationalJsonElement? FindJsonElement(Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase);
abstract member FindJsonElement : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> Microsoft.EntityFrameworkCore.Metadata.IRelationalJsonElement
override this.FindJsonElement : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> Microsoft.EntityFrameworkCore.Metadata.IRelationalJsonElement
Public Overridable Function FindJsonElement (propertyBase As IPropertyBase) As IRelationalJsonElement
Paramètres
- propertyBase
- IPropertyBase
Propriété, navigation ou propriété complexe à rechercher.
Retours
Mappage d’élément JSON pour propertyBase, ou null s’il n’est pas trouvé.