public void DeleteCustomer(CUSTOMER customer)
 {
     bool ok = db.deleteCostumer(Convert.ToInt16(customer.CUSTOMERID));
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the CUSTOMER EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCUSTOMER(CUSTOMER cUSTOMER)
 {
     base.AddObject("CUSTOMER", cUSTOMER);
 }
 public void UpdateCustomer(CUSTOMER customer)
 {
     bool ok = db.updateCostumer(Convert.ToInt16(customer.CUSTOMERID), customer.NAME, customer.ADRESA);
 }