Share via


DbExpressionBuilder.As 方法

定义

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

重载

As(DbAggregate, String)

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

As(DbExpression, String)

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

As(DbAggregate, String)

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

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)

参数

value
DbAggregate

键/值对中的值。

alias
String

键/值对中的键。

返回

密钥/值对对象。

适用于

As(DbExpression, String)

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

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)

参数

value
DbExpression

键/值对中的值。

alias
String

键/值对中的键。

返回

密钥/值对对象。

适用于