public void Update(string CustomerID, string CompanyName, string ContactName, string ContactTitle, string Address, string City, string Region, string PostalCode, string Country, string Phone, string Fax) { Customer item = new Customer(); item.MarkOld(); item.IsLoaded = true; item.CustomerID = CustomerID; 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.Save(UserName); }
public void Update(string CustomerID,string CompanyName,string ContactName,string ContactTitle,string Address,string City,string Region,string PostalCode,string Country,string Phone,string Fax) { Customer item = new Customer(); item.MarkOld(); item.IsLoaded = true; item.CustomerID = CustomerID; 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.Save(UserName); }