Share via


DbExpressionBuilder.As Methode

Definition

Gibt die angegebenen Argumente als Schlüssel-Wert-Paar-Objekt zurück.

Überlädt

As(DbAggregate, String)

Gibt die angegebenen Argumente als Schlüssel-Wert-Paar-Objekt zurück.

As(DbExpression, String)

Gibt die angegebenen Argumente als Schlüssel-Wert-Paar-Objekt zurück.

As(DbAggregate, String)

Gibt die angegebenen Argumente als Schlüssel-Wert-Paar-Objekt zurück.

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)

Parameter

value
DbAggregate

Wert des Schlüssel-Wert-Paars

alias
String

Schlüssel des Schlüssel-Wert-Paars

Gibt zurück

Ein Schlüssel-Wert-Paar-Objekt.

Gilt für:

As(DbExpression, String)

Gibt die angegebenen Argumente als Schlüssel-Wert-Paar-Objekt zurück.

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)

Parameter

value
DbExpression

Wert des Schlüssel-Wert-Paars

alias
String

Schlüssel des Schlüssel-Wert-Paars

Gibt zurück

Ein Schlüssel-Wert-Paar-Objekt.

Gilt für: