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