DbExpressionBuilder.Divide(DbExpression, DbExpression) Metoda

Definicja

Tworzy nowy DbArithmeticExpression argument dzielący lewy argument przez prawy argument.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbArithmeticExpression ^ Divide(System::Data::Common::CommandTrees::DbExpression ^ left, System::Data::Common::CommandTrees::DbExpression ^ right);
public static System.Data.Common.CommandTrees.DbArithmeticExpression Divide(this System.Data.Common.CommandTrees.DbExpression left, System.Data.Common.CommandTrees.DbExpression right);
static member Divide : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbArithmeticExpression
<Extension()>
Public Function Divide (left As DbExpression, right As DbExpression) As DbArithmeticExpression

Parametry

left
DbExpression

Wyrażenie określające argument po lewej stronie.

right
DbExpression

Wyrażenie określające właściwy argument.

Zwraca

Nowa operacja DbArithmeticExpression reprezentująca operację dzielenia.

Wyjątki

left lub right ma wartość null.

Nie istnieje wspólny typ wyniku liczbowego między elementami left lub right.

Dotyczy