共用方式為


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

索引鍵/值組中的索引鍵。

傳回

索引鍵/值組物件。

適用於