Skip to content

FilterExpressionBuilder class

Used for building Sql commands using Korzh.EasyQuery.Db.DbQuery

public class Korzh.EasyQuery.Db.FilterExpressionBuilder
: DbQueryBuilder

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

Assembly: Korzh.EasyQuery.Db.dll

NameTypeDescription
FilterExpressionBuilder(DbQuery query)voidInitializes a new instance of the Korzh.EasyQuery.Db.SqlQueryBuilder class.
NameTypeDescription
CanBuildboolGets a value indicating whether this instance can be built.
ResultFilterExpressionGets the result.
NameTypeDescription
CondSqlGenConditionSqlGeneratedEventHandlerThis event is raised during query building for each condition in the query and it allows you to replace the SQL expression generated for this condition.
NameTypeDescription
Build()boolBuilds the filter expression. It can be used (for example) in DataSet.FilterExpression property to filter data
OnCondSqlGen(ConditionSqlGeneratedEventArgs e)voidRaises the CondSqlGen event.
ResetFilterBuilder()voidResets the filter builder.