static void Main() { NorthwindHelper.GetProductInfo(); NorthwindHelper.GetEmployeeRegionInfo(); NorthwindHelper.GetEmployeesByRegionInfo(); NorthwindHelper.GetEmployeeShipperInfo(); var employee = new Employee() { LastName = "LastName", FirstName = "FirstName" }; // NorthwindHelper.CreateEmployee(employee, 1); //NorthwindHelper.UpdateProductCategory("Beverages", "Condiments"); var product = new Product() { Name = "Test" }; NorthwindHelper.CreateProduct(product, "test", "test"); }
public GenericManager(string ConnectionString) { db = new NorthwindHelper(ConnectionString); }
public ShippersManager(string conStr) { helper = new NorthwindHelper(conStr); }