Ejemplo n.º 1
0
 public void RunSeedMethod_WithoutDescription()
 {
     using (var ctx = new CarsContext())
     {
         ctx.Seed <CarBodyStyle>(descriptionField: null);
     }
 }
Ejemplo n.º 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>();
            }
        }