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

            AddBikes(seedContext, tenant);

            AddClothingProducts(seedContext, tenant);

            AddEquipmentProducts(seedContext, tenant);
        }