public static void SeedHostDb(bloggerDbContext 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 TenantRoleAndUserBuilder(bloggerDbContext context, int tenantId) { _context = context; _tenantId = tenantId; }
public DefaultLanguagesCreator(bloggerDbContext context) { _context = context; }
public InitialCategory(bloggerDbContext context) { _context = context; }
public InitialHostDbBuilder(bloggerDbContext context) { _context = context; }
public HostRoleAndUserCreator(bloggerDbContext context) { _context = context; }
public DefaultSettingsCreator(bloggerDbContext context) { _context = context; }
public DefaultEditionCreator(bloggerDbContext context) { _context = context; }
public DefaultTenantBuilder(bloggerDbContext context) { _context = context; }