DbExpressionBuilder.Minus(DbExpression, DbExpression) Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Vytvoří nový DbArithmeticExpression , který odečte pravý argument od argumentu vlevo.
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
Výraz, který určuje levý argument.
- right
- DbExpression
Výraz, který určuje správný argument.
Návraty
Nový DbArithmeticExpression představující operaci odčítání.
Výjimky
left nebo right má hodnotu null.
Mezi left a rightneexistuje žádný společný typ číselného výsledku.