public DbExecuteContext( IDbTable <TModel> dbTable, IDbServiceProvider runtimeProvider, IDbQueryStrategyProvider queryStrategyProvider) : this() { _queryTable = dbTable; _serviceProvider = runtimeProvider; _queryStrategyProvider = queryStrategyProvider; }
public DbQueryContext() { _container = App.ServiceProviders; _groupByFields = new List <DbQueryGroupByClause <TModel> >(); _whereClauses = new List <DbQueryWhereClause <TModel> >(); _orderbyClauses = new List <DbQueryOrderByClause <TModel> >(); _queryStrategyProvider = _container.Resolve <IDbQueryStrategyProvider>(); }
public DbExecuteContext(IDbTable <TModel> dbTable, IDbServiceProvider runtimeProvider) : this() { _queryTable = dbTable; _serviceProvider = runtimeProvider; _queryStrategyProvider = _container.Resolve <IDbQueryStrategyProvider>(); }
public DbExecuteContext(IDbTable <TModel> dbTable, string connectionString) : this() { _queryTable = dbTable; _serviceProvider = _container.Resolve <IDbServiceProvider>(); _queryStrategyProvider = _container.Resolve <IDbQueryStrategyProvider>(); }