// Use IQueryBuilderService to get access to the server-side instances of Active Query Builder objects.
 // See the registration of this service in the Startup.cs.
 public QueryBuilderController(IQueryBuilderService aqbs, RedisQueryBuilderProvider queryBuilderProvider,
                               IQueryTransformerService qts)
 {
     _aqbs = aqbs;
     _queryBuilderProvider = queryBuilderProvider;
     _qts = qts;
 }
예제 #2
0
 // Use IQueryBuilderService to get access to the server-side instances of Active Query Builder objects.
 // See the registration of this service in the Startup.cs.
 public QueryResultsDemoController(IQueryBuilderService aqbs, IQueryTransformerService qts, IHostingEnvironment env, IConfiguration config)
 {
     _aqbs   = aqbs;
     _qts    = qts;
     _env    = env;
     _config = config;
 }
예제 #3
0
        // Use IQueryBuilderService to get access to the server-side instances of Active Query Builder objects.
        // See the registration of this service in the Startup.cs.
        public LoadMetadataDemoController(IQueryBuilderService aqbs, IHostingEnvironment env, IConfiguration config)
        {
            _aqbs   = aqbs;
            _env    = env;
            _config = config;

            _conn = DataBaseHelper.CreateSqLiteConnection(Path.Combine(_env.WebRootPath, _config["SqLiteDataBase"]));
        }
예제 #4
0
        // Use IQueryBuilderService to get access to the server-side instances of Active Query Builder objects.
        // See the registration of this service in the Startup.cs.
        public ChangeConnectionController(IQueryBuilderService aqbs, IHostingEnvironment env, IConfiguration config)
        {
            _aqbs   = aqbs;
            _env    = env;
            _config = config;

            _aqbs.GetOrCreate(instanceId);
        }
예제 #5
0
 public TransactionRowQueryBuilder(
     ITransactionRepository repository,
     IQueryBuilderService <Transaction, TransactionSearchFilter> queryBuilder,
     IAbstractTransactionFactory rowFactory)
 {
     this.repository   = repository;
     this.queryBuilder = queryBuilder;
     this.rowFactory   = rowFactory;
 }
 public ResourceService(
     IHttpClientFactory httpClientFactory,
     IQueryBuilderService queryBuilderService,
     IOptions <ResourceApiSettings> apiSettings,
     IOptions <QuerySettings> querySettings
     )
 {
     _httpClientFactory   = httpClientFactory;
     _queryBuilderService = queryBuilderService;
     _apiSettings         = apiSettings.Value;
     _querySettings       = querySettings.Value;
 }
예제 #7
0
        public QueryTransformerSqliteStoreProvider(IQueryBuilderService aqbs, IHostingEnvironment env, IConfiguration config)
        {
            _aqbs   = aqbs;
            _env    = env;
            _config = config;

            SaveState   = true;
            _connection = DataBaseHelper.CreateSqLiteConnection(GetDatabasePath());

            var sql = "create table if not exists QueryTransformers(id text primary key, state TEXT)";

            ExecuteNonQuery(sql);
        }
예제 #8
0
 // Use IQueryBuilderService to get access to the server-side instances of Active Query Builder objects.
 // See the registration of this service in the Startup.cs.
 public VirtualObjectsAndFieldsController(IQueryBuilderService aqbs, IHostingEnvironment env, IConfiguration config)
 {
     _aqbs   = aqbs;
     _env    = env;
     _config = config;
 }
예제 #9
0
 // Use IQueryBuilderService to get access to the server-side instances of Active Query Builder objects.
 // See the registration of this service in the Startup.cs.
 public MetadataStructureController(IQueryBuilderService aqbs, IHostingEnvironment env, IConfiguration config)
 {
     _aqbs   = aqbs;
     _env    = env;
     _config = config;
 }
예제 #10
0
 // Use IActiveQueryBuilderServiceBase to get access to the server-side instances of Active Query Builder objects.
 // See the registration of this service in the Startup.cs.
 public QueryModificationDemoController(IQueryBuilderService aqbs, IHostingEnvironment env, IConfiguration config)
 {
     _aqbs   = aqbs;
     _env    = env;
     _config = config;
 }
 // Use IActiveQueryBuilderServiceBase to get access to the server-side instances of Active Query Builder objects.
 // See the registration of this service in the Startup.cs.
 public SQLSyntaxHighlightingController(IQueryBuilderService aqbs, IHostingEnvironment env, IConfiguration config)
 {
     _aqbs   = aqbs;
     _env    = env;
     _config = config;
 }
 // Use IQueryBuilderService to get access to the server-side instances of Active Query Builder objects.
 // See the registration of this service in the Startup.cs.
 public QueryResultsDemoController(IQueryBuilderService aqbs, IQueryTransformerService qts)
 {
     _aqbs = aqbs;
     _qts  = qts;
 }
예제 #13
0
 // Use IActiveQueryBuilderServiceBase to get access to the server-side instances of Active Query Builder objects.
 // See the registration of this service in the Startup.cs.
 public CreateFromConfigDemoController(IQueryBuilderService aqbs)
 {
     _aqbs = aqbs;
 }
예제 #14
0
 public DapperQueryService(IQueryBuilderService queryBuilderService)
 {
     _queryBuilderService = queryBuilderService;
 }
예제 #15
0
 // Use IQueryBuilderService to get access to the server-side instances of Active Query Builder objects.
 // See the registration of this service in the Startup.cs.
 public UserDefinedFieldsController(IQueryBuilderService aqbs, IHostingEnvironment env, IConfiguration config)
 {
     _aqbs   = aqbs;
     _env    = env;
     _config = config;
 }
 // Use IActiveQueryBuilderServiceBase to get access to the server-side instances of Active Query Builder objects.
 // See the registration of this service in the Startup.cs.
 public QueryBuilderController(IQueryBuilderService aqbs)
 {
     _aqbs = aqbs;
 }
예제 #17
0
 // Use IQueryBuilderService to get access to the server-side instances of Active Query Builder objects.
 // See the registration of this service in the Startup.cs.
 public CreateQueryBuilderController(IQueryBuilderService aqbs, IHostingEnvironment env, IConfiguration config)
 {
     _aqbs   = aqbs;
     _env    = env;
     _config = config;
 }
예제 #18
0
 // Use IQueryBuilderService to get access to the server-side instances of Active Query Builder objects.
 // See the registration of this service in the Startup.cs.
 public SimpleUserQueriesController(IQueryBuilderService aqbs, IHostingEnvironment env, IConfiguration config)
 {
     _aqbs   = aqbs;
     _env    = env;
     _config = config;
 }
예제 #19
0
 // Use IQueryBuilderService to get access to the server-side instances of Active Query Builder objects.
 // See the registration of this service in the Startup.cs.
 public BootstrapThemingController(IQueryBuilderService aqbs, IHostingEnvironment env, IConfiguration config)
 {
     _aqbs   = aqbs;
     _env    = env;
     _config = config;
 }
 public QueryBuilderController(IQueryBuilderService queryBuilderService)
 {
     _queryBuilderService = queryBuilderService;
 }
 // Use IActiveQueryBuilderServiceBase to get access to the server-side instances of Active Query Builder objects.
 // See the registration of this service in the Startup.cs.
 public SimpleDemoController(IQueryBuilderService aqbs)
 {
     _aqbs = aqbs;
 }
 // Use IQueryBuilderService to get access to the server-side instances of Active Query Builder objects.
 // See the registration of this service in the Startup.cs.
 public VerifyingQueryElementsController(IQueryBuilderService aqbs, IHostingEnvironment env, IConfiguration config)
 {
     _aqbs   = aqbs;
     _env    = env;
     _config = config;
 }
예제 #23
0
 // Use IQueryBuilderService to get access to the server-side instances of Active Query Builder objects.
 // See the registration of this service in the Startup.cs.
 public HomeController(IQueryBuilderService aqbs, IQueryTransformerService qts)
 {
     _aqbs = aqbs;
     _qts  = qts;
 }
예제 #24
0
 // Use IQueryBuilderService to get access to the server-side instances of Active Query Builder objects.
 // See the registration of this service in the Startup.cs.
 public JavaScriptRenderingDemoController(IQueryBuilderService aqbs, IHostingEnvironment env, IConfiguration config)
 {
     _aqbs   = aqbs;
     _env    = env;
     _config = config;
 }
예제 #25
0
 // Use IQueryBuilderService to get access to the server-side instances of Active Query Builder objects.
 // See the registration of this service in the Startup.cs.
 public AngularJSClientRenderingController(IQueryBuilderService aqbs, IHostingEnvironment env, IConfiguration config)
 {
     _aqbs   = aqbs;
     _env    = env;
     _config = config;
 }
예제 #26
0
 // Use IQueryBuilderService to get access to the server-side instances of Active Query Builder objects.
 // See the registration of this service in the Startup.cs.
 public ClientEventHandleUqController(IQueryBuilderService aqbs, IHostingEnvironment env, IConfiguration config)
 {
     _aqbs   = aqbs;
     _env    = env;
     _config = config;
 }
예제 #27
0
 // Use IQueryBuilderService to get access to the server-side instances of Active Query Builder objects.
 // See the registration of this service in the Startup.cs.
 public SubQueryResultsPreviewDemoController(IQueryBuilderService aqbs, IHostingEnvironment env, IConfiguration config)
 {
     _aqbs   = aqbs;
     _env    = env;
     _config = config;
 }
예제 #28
0
 // Use IQueryBuilderService to get access to the server-side instances of Active Query Builder objects.
 // See the registration of this service in the Startup.cs.
 public SimpleOdbcDemoController(IQueryBuilderService aqbs, IHostingEnvironment env)
 {
     _aqbs = aqbs;
     _env  = env;
 }