共用方式為


DbExpressionBuilder.Divide(DbExpression, DbExpression) 方法

定義

建立新的 DbArithmeticExpression,這個運算式會將左引數除以右引數。

public static System.Data.Entity.Core.Common.CommandTrees.DbArithmeticExpression Divide(this System.Data.Entity.Core.Common.CommandTrees.DbExpression left, System.Data.Entity.Core.Common.CommandTrees.DbExpression right);
static member Divide : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbArithmeticExpression
<Extension()>
Public Function Divide (left As DbExpression, right As DbExpression) As DbArithmeticExpression

參數

left
DbExpression

指定左引數的運算式。

right
DbExpression

指定右引數的運算式。

傳回

表示除法運算的新 DbArithmeticExpression。

例外狀況

向左或向右為 Null。

左或右之間沒有常見的數值結果類型。

適用於