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