예제 #1
0
        static public void Delete(System.String customerID, esSqlAccessType sqlAccessType)
        {
            var obj = new Customers();

            obj.CustomerID = customerID;
            obj.AcceptChanges();
            obj.MarkAsDeleted();
            obj.Save(sqlAccessType);
        }
예제 #2
0
 public void UpdateCustomers(BusinessObjects.Customers obj)
 {
     obj.AcceptChanges();
     obj.MarkAllColumnsAsDirty(EntitySpaces.Interfaces.esDataRowState.Modified);
     obj.Save();
 }