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.
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 static System.Collections.Generic.KeyValuePair<string,System.Data.Entity.Core.Common.CommandTrees.DbAggregate> As (this System.Data.Entity.Core.Common.CommandTrees.DbAggregate value, string alias);
static member As : System.Data.Entity.Core.Common.CommandTrees.DbAggregate * string -> System.Collections.Generic.KeyValuePair<string, System.Data.Entity.Core.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 static System.Collections.Generic.KeyValuePair<string,System.Data.Entity.Core.Common.CommandTrees.DbExpression> As (this System.Data.Entity.Core.Common.CommandTrees.DbExpression value, string alias);
static member As : System.Data.Entity.Core.Common.CommandTrees.DbExpression * string -> System.Collections.Generic.KeyValuePair<string, System.Data.Entity.Core.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.
Applies to
Entity Framework