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