public void DeleteCustomer(Customer customerToDelete)
 {
     context.Customers.DeleteOnSubmit(context.Customers.FirstOrDefault(it => it.CustomerNum.Equals(customerToDelete.CustomerNum)));
      context.SubmitChanges();
      FillItemsGrid();
        //  this.RaisePropertyChanged(vm => vm.ItemsGrid);
 }
 void CreateNewCustomer()
 {
     Customer newCustomer = new Customer();  // huh?
     CustomerViewModel workspace = new CustomerViewModel();
     this.Workspaces.Add(workspace);
     this.SetActiveWorkspace(workspace);
 }
 partial void UpdateCustomer(Customer instance);
 partial void DeleteCustomer(Customer instance);
 partial void InsertCustomer(Customer instance);