Skip to content

IPredicateOperator Interface ​

Definition ​

Defines the behavior and metadata for a query clause operator, such as 'Equals', 'NotEquals', or 'IsNull'. Operators can be matched programmatically by name or symbol, and can generate SQL and/or perform in-memory evaluation.

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Properties ​

NameDescription
IsUnaryIndicates whether this operator is unary (e.g., requires no comparison value).
NameThe unique, case-insensitive name of the operator, used for registration and logical lookup.
SymbolOptional symbolic representation of the operator, such as '=', '!=', or 'IS NULL'.

Methods ​

NameDescription
bool Matches(object targetValue, object comparisonValue)Optional: perform an in-memory match.
string ToSql(IPredicate predicate, SqlRenderContext context)Render SQL expression for this operator