DbExpressionBuilder.Minus(DbExpression, DbExpression) Metoda

Definicja

Tworzy nowy DbArithmeticExpression , który odejmuje prawy argument od argumentu po lewej stronie.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbArithmeticExpression ^ Minus(System::Data::Common::CommandTrees::DbExpression ^ left, System::Data::Common::CommandTrees::DbExpression ^ right);
public static System.Data.Common.CommandTrees.DbArithmeticExpression Minus(this System.Data.Common.CommandTrees.DbExpression left, System.Data.Common.CommandTrees.DbExpression right);
static member Minus : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbArithmeticExpression
<Extension()>
Public Function Minus (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ę odejmowania.

Wyjątki

left lub right ma wartość null.

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

Dotyczy