DbExpressionBuilder.As 方法

定义

重载

As(DbAggregate, String)

返回作为键/值对象指的定参数。

As(DbExpression, String)

返回作为键/值对象指的定参数。

As(DbAggregate, String)

返回作为键/值对象指的定参数。

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)

参数

value
DbAggregate

键/值对中的值。

alias
String

键/值对中的键。

返回

密钥/值对对象。

适用于

As(DbExpression, String)

返回作为键/值对象指的定参数。

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)

参数

value
DbExpression

键/值对中的值。

alias
String

键/值对中的键。

返回

密钥/值对对象。

适用于