private void SeedMainUser(ISeedContext seedContext) { seedContext.Add(seedContext.BuildWrappedObject <User>(SeedingStrings.SystemUser).ExtendWith(new User() { Username = "******", Password = "******" }).TimeStampNew().SetSystemFlag().SetClientFlag().TimeStampTenant(seedContext.Tenant())); }
public void SeedData(ISeedContext seedContext) { var tenant = seedContext.Tenant(); AddBikes(seedContext, tenant); AddClothingProducts(seedContext, tenant); AddEquipmentProducts(seedContext, tenant); }