DbExpressionBuilder.As 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.
Retourne les arguments spécifiés en tant qu’objet paire clé/valeur.
Surcharges
| Nom | Description |
|---|---|
| As(DbAggregate, String) |
Retourne les arguments spécifiés en tant qu’objet paire clé/valeur. |
| As(DbExpression, String) |
Retourne les arguments spécifiés en tant qu’objet paire clé/valeur. |
As(DbAggregate, String)
Retourne les arguments spécifiés en tant qu’objet paire clé/valeur.
public:
[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::KeyValuePair<System::String ^, System::Data::Common::CommandTrees::DbAggregate ^> As(System::Data::Common::CommandTrees::DbAggregate ^ value, System::String ^ alias);
public static System.Collections.Generic.KeyValuePair<string,System.Data.Common.CommandTrees.DbAggregate> As(this System.Data.Common.CommandTrees.DbAggregate value, string alias);
static member As : System.Data.Common.CommandTrees.DbAggregate * string -> System.Collections.Generic.KeyValuePair<string, System.Data.Common.CommandTrees.DbAggregate>
<Extension()>
Public Function As (value As DbAggregate, alias As String) As KeyValuePair(Of String, DbAggregate)
Paramètres
- value
- DbAggregate
Valeur de la paire clé/valeur.
- alias
- String
Clé de la paire clé/valeur.
Retours
Objet paire clé/valeur.
S’applique à
As(DbExpression, String)
Retourne les arguments spécifiés en tant qu’objet paire clé/valeur.
public:
[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::KeyValuePair<System::String ^, System::Data::Common::CommandTrees::DbExpression ^> As(System::Data::Common::CommandTrees::DbExpression ^ value, System::String ^ alias);
public static System.Collections.Generic.KeyValuePair<string,System.Data.Common.CommandTrees.DbExpression> As(this System.Data.Common.CommandTrees.DbExpression value, string alias);
static member As : System.Data.Common.CommandTrees.DbExpression * string -> System.Collections.Generic.KeyValuePair<string, System.Data.Common.CommandTrees.DbExpression>
<Extension()>
Public Function As (value As DbExpression, alias As String) As KeyValuePair(Of String, DbExpression)
Paramètres
- value
- DbExpression
Valeur de la paire clé/valeur.
- alias
- String
Clé de la paire clé/valeur.
Retours
Objet paire clé/valeur.