DbExpressionBuilder.As Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the specified arguments as a key/value pair object.
Overloads
As(DbAggregate, String) |
Returns the specified arguments as a key/value pair object. |
As(DbExpression, String) |
Returns the specified arguments as a key/value pair object. |
As(DbAggregate, String)
Returns the specified arguments as a key/value pair object.
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)
Parameters
- value
- DbAggregate
The value in the key/value pair.
- alias
- String
The key in the key/value pair.
Returns
A key/value pair object.
Applies to
As(DbExpression, String)
Returns the specified arguments as a key/value pair object.
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)
Parameters
- value
- DbExpression
The value in the key/value pair.
- alias
- String
The key in the key/value pair.
Returns
A key/value pair object.