public DatabaseObjectExplorerController(ILogger <DatabaseObjectExplorerController> logger, ApplicationDbContext context, UserManager <ApplicationUser> userManager, IHttpContextAccessor httpContextAccessor) : base(context, userManager, httpContextAccessor)
 {
     _logger              = logger;
     _context             = context;
     _userManager         = userManager;
     _srvServerInfo       = new SrvMssql();
     _httpContextAccessor = httpContextAccessor;
 }
예제 #2
0
 public DatabaseTablesController(ApplicationDbContext context, UserManager <ApplicationUser> userManager, IHttpContextAccessor httpContextAccessor) : base(context, userManager, httpContextAccessor)
 {
     ISrvMssql = new SrvMssql();
     this.applicationDbContext = context;
 }
 public DatabaseFunctionsController(ApplicationDbContext context, UserManager <ApplicationUser> userManager, IHttpContextAccessor httpContextAccessor) : base(context, userManager, httpContextAccessor)
 {
     SrvMssqlScalarFunction     = new SrvMssql("FN");
     SrvMssqlTableValueFunction = new SrvMssql("TF");
 }
 private string GetObjectExplorer()
 {
     return(@"{""data"":" + JsonConvert.SerializeObject(SrvMssql.GetObjectExplorer(getActiveDatabaseInfo(), getActiveDatabaseName())) + "}");
 }
예제 #5
0
 public DatabaseUserDefinedDataTypesController(ApplicationDbContext context, UserManager <ApplicationUser> userManager, IHttpContextAccessor httpContextAccessor) : base(context, userManager, httpContextAccessor)
 {
     SrvDatabaseUserDefinedDataTypes = new SrvMssql();
 }
 public DatabaseServerController(ILogger <DatabaseServerController> logger, ApplicationDbContext context, UserManager <ApplicationUser> userManager, IHttpContextAccessor httpContextAccessor) : base(context, userManager, httpContextAccessor)
 {
     SrvServerInfo = new SrvMssql();
     this._logger  = logger;
 }
 public DatabaseStoreProcedureController(ApplicationDbContext context, UserManager <ApplicationUser> userManager, IHttpContextAccessor httpContextAccessor) : base(context, userManager, httpContextAccessor)
 {
     SrvDatabaseStoreProc = new SrvMssql();
     SrvServerInfo        = new SrvMssql();
 }
 public DatabaseStoreProcedureController()
 {
     SrvDatabaseStoreProc = new SrvMssql();
     SrvServerInfo        = new SrvMssql();
 }
예제 #9
0
 public DatabaseSchemaController(ApplicationDbContext context, UserManager <ApplicationUser> userManager, IHttpContextAccessor httpContextAccessor) : base(context, userManager, httpContextAccessor)
 {
     SrvDatabaseSchema = new SrvMssql();
 }