Ejemplo n.º 1
0
 public QueryParserService(
     IQueryEvaluator queryEvaluator,
     Func <Context> contextGenerator)
 {
     this.queryEvaluator   = queryEvaluator;
     this.contextGenerator = contextGenerator;
 }
 public QueryParserService(
     ITableDefinitionProvider tableDefinitionProvider,
     IQueryEvaluator queryEvaluator,
     ISessionService sessionService,
     IDatabaseTableDataProvider loader)
 {
     this.tableDefinitionProvider = tableDefinitionProvider;
     this.queryEvaluator          = queryEvaluator;
     this.sessionService          = sessionService;
     this.loader = loader;
 }
Ejemplo n.º 3
0
 public MySqlExecutor(IMySqlWorldConnectionStringProvider worldConnectionString,
                      IDatabaseProvider databaseProvider,
                      IQueryEvaluator queryEvaluator,
                      IEventAggregator eventAggregator,
                      IMainThread mainThread,
                      DatabaseLogger databaseLogger)
 {
     this.worldConnectionString = worldConnectionString;
     this.databaseProvider      = databaseProvider;
     this.queryEvaluator        = queryEvaluator;
     this.eventAggregator       = eventAggregator;
     this.mainThread            = mainThread;
     this.databaseLogger        = databaseLogger;
 }