Appearance
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
| Name | Description |
|---|---|
IsUnary | Indicates whether this operator is unary (e.g., requires no comparison value). |
Name | The unique, case-insensitive name of the operator, used for registration and logical lookup. |
Symbol | Optional symbolic representation of the operator, such as '=', '!=', or 'IS NULL'. |
Methods
| Name | Description |
|---|---|
bool Matches(object targetValue, object comparisonValue) | Optional: perform an in-memory match. |
string ToSql(IPredicate predicate, SqlRenderContext context) | Render SQL expression for this operator |