private static void CreateDb() { using (var context = new PropellerDataContext()) { context.Database.EnsureCreated(); context.SaveChanges(); } }
public ProductService() { pdc = new PropellerDataContext(); }