DbExpressionBuilder.Bind(DbExpression) 方法

定義

建立新的 DbExpressionBinding,它會使用產生的變數名稱繫結指定的運算式。

C#
public static System.Data.Common.CommandTrees.DbExpressionBinding Bind (this System.Data.Common.CommandTrees.DbExpression input);

參數

input
DbExpression

要繫結的運算式。

傳回

含有指定之運算式及產生之變數名稱的新運算式繫結。

例外狀況

input 為 null。

input 沒有集合結果。

適用於

產品 版本
.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