Example #1
0
        private static void CreateDb()
        {
            using (var context = new PropellerDataContext())

            {
                context.Database.EnsureCreated();
                context.SaveChanges();
            }
        }
Example #2
0
 public ProductService()
 {
     pdc = new PropellerDataContext();
 }