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

            return(new IntegrationEventLogContext(optionsBuilder.Options));
        }
Example #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));
 }
Example #4
0
        public ProductContext CreateDbContext(string[] args)
        {
            var optionsBuilder = ContextDesigner.CreateDbContextOptionsBuilder <ProductContext>("../../../../");

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

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

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