DbExpressionBuilder.Modulo(DbExpression, DbExpression) Metoda

Definice

Vytvoří novou DbArithmeticExpression , která vypočítá zbytek levého argumentu děleného správný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 má hodnotu null.

left Mezi a right.

Platí pro