语言

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

键/值对中的键。

返回

键/值对对象。

适用于