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