public void Insert(string CompanyName,string ContactName,string ContactTitle,string Address,string City,string Region,string PostalCode,string Country,string Phone,string Fax,string HomePage)
        {
            Supplier item = new Supplier();

            item.CompanyName = CompanyName;

            item.ContactName = ContactName;

            item.ContactTitle = ContactTitle;

            item.Address = Address;

            item.City = City;

            item.Region = Region;

            item.PostalCode = PostalCode;

            item.Country = Country;

            item.Phone = Phone;

            item.Fax = Fax;

            item.HomePage = HomePage;

            item.Save(UserName);
        }
 public static void Setup(int testItems) {
     SetTestRepo();
     for(int i=0;i<testItems;i++){
         Supplier item=new Supplier();
         _testRepo._items.Add(item);
     }
 }
        public void Update(int SupplierID,string CompanyName,string ContactName,string ContactTitle,string Address,string City,string Region,string PostalCode,string Country,string Phone,string Fax,string HomePage)
        {
            Supplier item = new Supplier();
            item.MarkOld();
            item.IsLoaded = true;

            item.SupplierID = SupplierID;

            item.CompanyName = CompanyName;

            item.ContactName = ContactName;

            item.ContactTitle = ContactTitle;

            item.Address = Address;

            item.City = City;

            item.Region = Region;

            item.PostalCode = PostalCode;

            item.Country = Country;

            item.Phone = Phone;

            item.Fax = Fax;

            item.HomePage = HomePage;

            item.Save(UserName);
        }
 public static void Setup(Supplier item) {
     SetTestRepo();
     _testRepo._items.Add(item);
 }