CQRS.NET  2.1
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
Cqrs.Repositories.Queries.QueryBuilder< TQueryStrategy, TData > Class Template Referenceabstract
+ Inheritance diagram for Cqrs.Repositories.Queries.QueryBuilder< TQueryStrategy, TData >:

Public Member Functions

virtual IQueryable< TData > CreateQueryable (ISingleResultQuery< TQueryStrategy, TData > singleResultQuery)
 
virtual IQueryable< TData > CreateQueryable (ICollectionResultQuery< TQueryStrategy, TData > collectionResultQuery)
 

Protected Member Functions

 QueryBuilder (IDataStore< TData > dataStore, IDependencyResolver dependencyResolver)
 
virtual IQueryable< TData > GetEmptyQueryPredicate ()
 
virtual IQueryable< TData > GeneratePredicate (IQueryPredicate queryPredicate, IQueryable< TData > leftHandQueryable=null)
 
virtual IQueryable< TData > GeneratePredicateIsNotLogicallyDeleted (QueryPredicate queryPredicate, IQueryable< TData > leftHandQueryable=null)
 
virtual IQueryable< TData > GeneratePredicateWithPermissionScopeAny< TAuthenticationToken > (QueryPredicate queryPredicate, IQueryable< TData > leftHandQueryable)
 
virtual IQueryable< TData > OnGeneratePredicateWithPermissionScopeAny< TAuthenticationToken > (QueryPredicate queryPredicate, IQueryable< TData > leftHandQueryable)
 
virtual IQueryable< TData > GeneratePredicateWithPermissionScopeUser< TAuthenticationToken > (QueryPredicate queryPredicate, IQueryable< TData > leftHandQueryable)
 
virtual IQueryable< TData > OnGeneratePredicateWithPermissionScopeUser< TAuthenticationToken > (QueryPredicate queryPredicate, IQueryable< TData > leftHandQueryable)
 
virtual IQueryable< TData > GeneratePredicateWithPermissionScopeCompany< TAuthenticationToken > (QueryPredicate queryPredicate, IQueryable< TData > leftHandQueryable)
 
virtual IQueryable< TData > OnGeneratePredicateWithPermissionScopeCompany< TAuthenticationToken > (QueryPredicate queryPredicate, IQueryable< TData > leftHandQueryable)
 
virtual IQueryable< TData > GeneratePredicateWithPermissionScopeCompanyAndUser< TAuthenticationToken > (QueryPredicate queryPredicate, IQueryable< TData > leftHandQueryable)
 
virtual IQueryable< TData > OnGeneratePredicateWithPermissionScopeCompanyAndUser< TAuthenticationToken > (QueryPredicate queryPredicate, IQueryable< TData > leftHandQueryable)
 
abstract IQueryable< TData > GeneratePredicate (QueryPredicate queryPredicate, IQueryable< TData > leftHandQueryable=null)
 
virtual string GetFunctionNameOfType< TParameter1 > (Func< TParameter1, IQueryPredicate > expression)
 
virtual string GetFunctionName< T > (Func< T > expression)
 
virtual string GetFunctionName< TParameter1 > (Func< TParameter1, TQueryStrategy > expression)
 
virtual string GetFunctionName< TParameter1, TParameter2 > (Func< TParameter1, TParameter2, TQueryStrategy > expression)
 
virtual string GetFunctionName< TParameter1, TParameter2, TParameter3 > (Func< TParameter1, TParameter2, TParameter3, TQueryStrategy > expression)
 
virtual string GetFunctionName< TParameter1, TParameter2, TParameter3, TParameter4 > (Func< TParameter1, TParameter2, TParameter3, TParameter4, TQueryStrategy > expression)
 
virtual string GetFunctionName< TParameter1, TParameter2, TParameter3, TParameter4, TParameter5 > (Func< TParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TQueryStrategy > expression)
 
virtual TQueryStrategy GetNullQueryStrategy ()
 
virtual void ApplySorting (TQueryStrategy queryStrategy, ref IQueryable< TData > queryable)
 

Properties

IDataStore< TData > DataStore [get]
 
IDependencyResolver DependencyResolver [get]