DbExpressionBuilder.GetEntityRef(DbExpression) Méthode

Définition

Crée un DbEntityRefExpression nouveau qui récupère la référence de l’entité spécifiée sous forme structurelle.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbEntityRefExpression ^ GetEntityRef(System::Data::Common::CommandTrees::DbExpression ^ argument);
public static System.Data.Common.CommandTrees.DbEntityRefExpression GetEntityRef(this System.Data.Common.CommandTrees.DbExpression argument);
static member GetEntityRef : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbEntityRefExpression
<Extension()>
Public Function GetEntityRef (argument As DbExpression) As DbEntityRefExpression

Paramètres

argument
DbExpression

Expression qui fournit l’entité. Cette expression doit avoir un type de résultat d’entité.

Retours

Nouvelle DbEntityRefExpression qui récupère une référence à l’entité spécifiée.

Exceptions

argument a la valeur null.

argument n’a pas de type de résultat d’entité.

S’applique à