DbExpressionBuilder.Bind(DbExpression) 方法

定义

创建使用生成的变量名称绑定给定表达式的新 DbExpressionBinding 变量。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbExpressionBinding ^ Bind(System::Data::Common::CommandTrees::DbExpression ^ input);
public static System.Data.Common.CommandTrees.DbExpressionBinding Bind(this System.Data.Common.CommandTrees.DbExpression input);
static member Bind : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbExpressionBinding
<Extension()>
Public Function Bind (input As DbExpression) As DbExpressionBinding

参数

input
DbExpression

要绑定的表达式。

返回

具有指定表达式和生成的变量名称的新表达式绑定。

例外

input 为 null。

input 没有集合结果。

适用于