Пример #1
0
 public void RunSeedMethod_WithoutDescription()
 {
     using (var ctx = new CarsContext())
     {
         ctx.Seed<CarBodyStyle>(descriptionField: null);
     }
 }
Пример #2
0
        public void RunSeedMethod()
        {
            // Not a proper unit test, nor placed in the right unit test lib,
            // but it's a great runner to use to get the code running.

            using (var ctx = new CarsContext())
            {
                ctx.Seed<CarBodyStyle>();
            }
        }