Exemplo n.º 1
0
        public void Test()
        {
            var dbOptions = serviceProvider.GetService <DbContextOptions <ApplicationServerDbContext> >();

            using (var db = new ApplicationServerDbContext(dbOptions))
            {
                try
                {
                }
                catch (Exception ex)
                {
                }

                // when we exit the using block,
                // the IServiceScope will dispose itself
                // and dispose all of the services that it resolved.
            }
        }
Exemplo n.º 2
0
 public ProcessInstanceContainerRepository(ApplicationServerDbContext applicationDbContext) : base(applicationDbContext)
 {
 }
Exemplo n.º 3
0
 public ProcessDiagnosticDataRepository(ApplicationServerDbContext applicationDbContext) : base(applicationDbContext)
 {
 }
Exemplo n.º 4
0
 public LogElementRepository(ApplicationServerDbContext applicationDbContext) : base(applicationDbContext)
 {
 }
Exemplo n.º 5
0
 public LogPropertiesRepository(ApplicationServerDbContext applicationDbContext) : base(applicationDbContext)
 {
 }
Exemplo n.º 6
0
 public ProcessExternalDataRepository(ApplicationServerDbContext applicationDbContext) : base(applicationDbContext)
 {
 }
Exemplo n.º 7
0
 public Repository(ApplicationServerDbContext applicationDbContext)
 {
     _applicationDbContext = applicationDbContext;
     entities = _applicationDbContext.Set <T>();
 }
Exemplo n.º 8
0
 public ProcessActivityDataRepository(ApplicationServerDbContext applicationDbContext) : base(applicationDbContext)
 {
 }
 public ProcessStepHistoryRepository(ApplicationServerDbContext applicationDbContext) : base(applicationDbContext)
 {
 }
 public ProcessStateDataRepository(ApplicationServerDbContext applicationDbContext) : base(applicationDbContext)
 {
 }