public static void SeedHostDb(wofuMotocycleDbContext context) { context.SuppressAutoSetTenantId = true; // Host seed new InitialHostDbBuilder(context).Create(); // Default tenant seed (in host database). new DefaultTenantBuilder(context).Create(); new TenantRoleAndUserBuilder(context, 1).Create(); }
public DefaultSettingsCreator(wofuMotocycleDbContext context) { _context = context; }
public DefaultTenantBuilder(wofuMotocycleDbContext context) { _context = context; }
public TenantRoleAndUserBuilder(wofuMotocycleDbContext context, int tenantId) { _context = context; _tenantId = tenantId; }
public DefaultLanguagesCreator(wofuMotocycleDbContext context) { _context = context; }
public InitialHostDbBuilder(wofuMotocycleDbContext context) { _context = context; }
public HostRoleAndUserCreator(wofuMotocycleDbContext context) { _context = context; }
public DefaultEditionCreator(wofuMotocycleDbContext context) { _context = context; }