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