static public void Delete(System.String customerID, esSqlAccessType sqlAccessType) { var obj = new Customers(); obj.CustomerID = customerID; obj.AcceptChanges(); obj.MarkAsDeleted(); obj.Save(sqlAccessType); }
public void UpdateCustomers(BusinessObjects.Customers obj) { obj.AcceptChanges(); obj.MarkAllColumnsAsDirty(EntitySpaces.Interfaces.esDataRowState.Modified); obj.Save(); }