Beispiel #1
0
        public static void SeedHostDb(ZentaoNotifyDbContext context)
        {
            context.SuppressAutoSetTenantId = true;

            // Host Seed
            new InitialHostDbBuilder(context).Create();

            // Default tenant seed (in host database)
            new DefaultTenantBuilder(context).Create();
        }
 public DefaultEditionCreator(ZentaoNotifyDbContext context)
 {
     _context = context;
 }
 public InitialHostDbBuilder(ZentaoNotifyDbContext context)
 {
     _context = context;
 }
Beispiel #4
0
 public DefaultTenantBuilder(ZentaoNotifyDbContext context)
 {
     _context = context;
 }