DbExpressionBuilder.As 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回指定的引數做為索引鍵/值組物件。
多載
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
索引鍵/值組中的索引鍵。
傳回
索引鍵/值組物件。