Udostępnij przez


DbExpressionBuilder.Divide(DbExpression, DbExpression) Metoda

Definicja

Tworzy nowy DbArithmeticExpression , który dzieli argument lewy przez prawy argument.

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

Parametry

left
DbExpression

Wyrażenie, które określa argument po lewej stronie.

right
DbExpression

Wyrażenie, które określa właściwy argument.

Zwraca

Nowa funkcja DbArithmeticExpression reprezentująca operację dzielenia.

Wyjątki

lewy lub prawy ma wartość null.

Między lewym lub prawym przyciskiem nie istnieje żaden typowy typ wyniku liczbowego.

Dotyczy