Ejemplo n.º 1
0
        public IntegrationEventLogContext CreateDbContext(string[] args)
        {
            var optionsBuilder = ContextDesigner.CreateDbContextOptionsBuilder <IntegrationEventLogContext>("../../../");

            return(new IntegrationEventLogContext(optionsBuilder.Options));
        }
Ejemplo n.º 2
0
        public SubscriptionContext CreateDbContext(string[] args)
        {
            var optionsBuilder = ContextDesigner.CreateDbContextOptionsBuilder <SubscriptionContext>("../../../../");

            return(new SubscriptionContext(optionsBuilder.Options));
        }
 public SmartStoreContext CreateDbContext(string[] args)
 {
     return(new SmartStoreContext(ContextDesigner
                                  .CreateDbContextOptionsBuilder <SmartStoreContext>("../../../../../U.SmartStoreAdapter").Options));
 }
Ejemplo n.º 4
0
        public ProductContext CreateDbContext(string[] args)
        {
            var optionsBuilder = ContextDesigner.CreateDbContextOptionsBuilder <ProductContext>("../../../../");

            return(new ProductContext(optionsBuilder.Options));
        }
Ejemplo n.º 5
0
        public NotificationContext CreateDbContext(string[] args)
        {
            var optionsBuilder = ContextDesigner.CreateDbContextOptionsBuilder <NotificationContext>("../../../../");

            return(new NotificationContext(optionsBuilder.Options));
        }
Ejemplo n.º 6
0
        public IdentityContext CreateDbContext(string[] args)
        {
            var optionsBuilder = ContextDesigner.CreateDbContextOptionsBuilder <IdentityContext>("../../../..");

            return(new IdentityContext(optionsBuilder.Options));
        }