DbExpressionBuilder.Project(DbExpressionBinding, DbExpression) 方法
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立新的 DbProjectExpression,這個運算式會對給定的輸入集,投影指定的運算式。
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbProjectExpression ^ Project(System::Data::Common::CommandTrees::DbExpressionBinding ^ input, System::Data::Common::CommandTrees::DbExpression ^ projection);
C#
public static System.Data.Common.CommandTrees.DbProjectExpression Project (this System.Data.Common.CommandTrees.DbExpressionBinding input, System.Data.Common.CommandTrees.DbExpression projection);
static member Project : System.Data.Common.CommandTrees.DbExpressionBinding * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbProjectExpression
<Extension()>
Public Function Project (input As DbExpressionBinding, projection As DbExpression) As DbProjectExpression
- input
- DbExpressionBinding
指定輸入集的運算式繫結。
- projection
- DbExpression
要對集合投影的運算式。
表示投影作業的新 DbProjectExpression。
input
或 projection
為 null。
產品 | 版本 |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |