public static void SeedHostDb(AngularRestApiDbContext 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 DefaultSettingsCreator(AngularRestApiDbContext context) { _context = context; }
public InitialHostDbBuilder(AngularRestApiDbContext context) { _context = context; }
public GoodsCreator(AngularRestApiDbContext context) { _context = context; }
public DefaultLanguagesCreator(AngularRestApiDbContext context) { _context = context; }
public HostRoleAndUserCreator(AngularRestApiDbContext context) { _context = context; }
public DefaultEditionCreator(AngularRestApiDbContext context) { _context = context; }