public CheckoutProcessDbContext Create(DbContextFactoryOptions options)
 {
     return(new CheckoutProcessDbContext(
                options.BuildDbContext <CheckoutProcessDbContext>(
                    typeof(CheckoutProcessDbContextFactory).GetTypeInfo().Assembly).Options));
 }
Esempio n. 2
0
 public OrderDbContext Create(DbContextFactoryOptions options)
 {
     return(new OrderDbContext(
                options.BuildDbContext <OrderDbContext>(
                    typeof(OrderDbContextFactory).GetTypeInfo().Assembly).Options));
 }
 public PaymentDbContext Create(DbContextFactoryOptions options)
 {
     return(new PaymentDbContext(
                options.BuildDbContext <PaymentDbContext>(
                    typeof(PaymentDbContextFactory).GetTypeInfo().Assembly).Options));
 }
Esempio n. 4
0
 public BlogDbContext Create(DbContextFactoryOptions options)
 {
     return(new BlogDbContext(
                options.BuildDbContext <BlogDbContext>(
                    typeof(BlogDbContextFactory).GetTypeInfo().Assembly).Options));
 }
 public AuditDbContext Create(DbContextFactoryOptions options)
 {
     return(new AuditDbContext(
                options.BuildDbContext <AuditDbContext>(
                    typeof(AuditDbContextFactory).GetTypeInfo().Assembly).Options));
 }