Share via


DbExpressionBuilder.As Method

Definition

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