Skip to content

BinaryCriteria class

namespace: Serenity.Data   assembly: Serenity.Net.Services

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. (2 constructors)
LeftOperand { get; } Gets the left operand.
LikeEscapeChar { get; } Gets the LIKE escape character, or null when no ESCAPE clause is rendered. Only set for Like / NotLike operators.
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