Table of Contents

Class QueryFilterBuilder<TEntity>

Namespace
Innova.Data.Entity.QueryFilterBuilder
Assembly
Innova.Data.dll

Represents a builder for query filters on an entity type.

public class QueryFilterBuilder<TEntity> : IQueryFilterBuilder<TEntity> where TEntity : class

Type Parameters

TEntity

The type of the entity.

Inheritance
QueryFilterBuilder<TEntity>
Implements

Methods

AddFilter(Expression<Func<TEntity, bool>>, bool)

Adds a query filter with the specified expression.

AddFilter(string, Expression<Func<TEntity, bool>>, bool)

Adds a query filter with the specified name and expression.

Create(EntityTypeBuilder<TEntity>)

Creates a new instance of the QueryFilterBuilder<TEntity> class.

DisableFilter(string)

Disables the query filter with the specified name.

EnableFilter(string)

Enables the query filter with the specified name.