Exemplo n.º 1
0
 /// <summary>
 /// DataSource controller constructor
 /// </summary>
 /// <param name="context"></param>
 public DataSourceController(EFSystemContext context)
 {
     _context = context;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor for the User controller
 /// </summary>
 /// <param name="context"></param>
 public UserController(EFSystemContext context)
 {
     _context = context;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Constructor for the Tenant Controller.
 /// </summary>
 /// <param name="context"></param>
 public TenantController(EFSystemContext context)
 {
     _context = context;
 }
 /// <summary>
 /// Constructor building a new model run worker referencing the given database context.
 /// </summary>
 /// <param name="context">The context class for the target database.</param>
 public ModelRunWorker(EFSystemContext context)
 {
     _context    = context;
     _controller = new ModelTaskController(_context);
 }
 /// <summary>
 /// Constructor for the Model Controller.
 /// </summary>
 /// <param name="context"></param>
 /// <param name="queue"></param>
 public ModelController(EFSystemContext context, IBackgroundTaskQueue queue)
 {
     _context            = context;
     backgroundTaskQueue = queue;
 }
Exemplo n.º 6
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="context">The context class for the target database.</param>
 public ModelTaskController(EFSystemContext context)
 {
     _context = context;
 }
Exemplo n.º 7
0
 /// <summary>
 /// Constructor for the scheduler controller.
 /// </summary>
 /// <param name="context"></param>
 public SchedulerController(EFSystemContext context)
 {
     _context = context;
 }