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