Bagikan melalui


DbExpressionBuilder.Project(DbExpressionBinding, DbExpression) Metode

Definisi

Membuat baru DbProjectExpression yang memproyeksikan ekspresi yang ditentukan melalui set input yang diberikan.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbProjectExpression ^ Project(System::Data::Common::CommandTrees::DbExpressionBinding ^ input, System::Data::Common::CommandTrees::DbExpression ^ projection);
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

Parameter

input
DbExpressionBinding

Pengikatan ekspresi yang menentukan set input.

projection
DbExpression

Ekspresi untuk memproyekasikan melalui set.

Mengembalikan

DbProjectExpression baru yang mewakili operasi proyeksi.

Pengecualian

input atau projection adalah null.

Berlaku untuk