DbExpressionBuilder.Modulo(DbExpression, DbExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new DbArithmeticExpression that computes the remainder of the left argument divided by the right argument.
public static System.Data.Entity.Core.Common.CommandTrees.DbArithmeticExpression Modulo (this System.Data.Entity.Core.Common.CommandTrees.DbExpression left, System.Data.Entity.Core.Common.CommandTrees.DbExpression right);
static member Modulo : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbArithmeticExpression
<Extension()>
Public Function Modulo (left As DbExpression, right As DbExpression) As DbArithmeticExpression
Parameters
- left
- DbExpression
An expression that specifies the left argument.
- right
- DbExpression
An expression that specifies the right argument.
Returns
A new DbArithmeticExpression representing the modulo operation.
Exceptions
left or right is null.
No common numeric result type exists between left and right.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework