DbExpressionBuilder.Modulo(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ý vypočítá zbytek levého argumentu dělený pravým argumentem.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbArithmeticExpression ^ Modulo(System::Data::Common::CommandTrees::DbExpression ^ left, System::Data::Common::CommandTrees::DbExpression ^ right);
public static System.Data.Common.CommandTrees.DbArithmeticExpression Modulo (this System.Data.Common.CommandTrees.DbExpression left, System.Data.Common.CommandTrees.DbExpression right);
static member Modulo : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbArithmeticExpression
<Extension()>
Public Function Modulo (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 modulo.
Výjimky
left nebo right je null.
Mezi a rightneexistuje left žádný společný číselný typ výsledku.