FilterExpression class

Represents the result of performing BuildSQL command.

public class Korzh.EasyQuery.Db.FilterExpression
    : QueryStatement

Package: Korzh.EasyQuery.Db (targets: netstandard2.0)

Assembly: Korzh.EasyQuery.Db.dll

Constructors

Name Type Description
FilterExpression(FilterExpressionBuilder builder) void Initializes a new instance of the Korzh.EasyQuery.Db.SqlStatement class.

Properties

Name Type Description
ExtraClauses SqlExtras Gets the Korzh.EasyQuery.Db.SqlExtras object which defines some extra clauses of generated query.
FilterExpr string Gets the filter expression.
Formats SqlFormats Gets the Korzh.EasyQuery.Db.SqlFormats object in the parent query.

Methods

Name Type Description
AddCondition(string s) void Adds text of some condition to WHERE clause.
AddToWhereClause(string s) void Adds some text to WHERE clause.
ClearAll() void Clears all clauses.
ClearWhereClause() void Clears the WHERE clause.
GetStatement() string Returns the statement (SQL, filter expression, etc - depending on the concrete QueryBuilderResult type).