BinaryCriteria class

namespace: Serenity.Data   assemblySerenity.Net.Data

Binary criteria object, which has two operands and a operator.

public class BinaryCriteria : BaseCriteria

Public Members

name description
BinaryCriteria(…) Initializes a new instance of the BinaryCriteria class.
LeftOperand { get; } Gets the left operand.
Operator { get; } Gets the operator.
RightOperand { get; } Gets the right operand.
override ToString(…) Converts the criteria to string in a string builder, while adding its params to the target query.

See Also