Beispiel #1
0
        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");
        }
Beispiel #2
0
 public GenericManager(string ConnectionString)
 {
     db = new NorthwindHelper(ConnectionString);
 }
Beispiel #3
0
 public ShippersManager(string conStr)
 {
     helper = new NorthwindHelper(conStr);
 }