static public void Delete(System.Int32 categoryID, esSqlAccessType sqlAccessType)
        {
            var obj = new Categories();

            obj.CategoryID = categoryID;
            obj.AcceptChanges();
            obj.MarkAsDeleted();
            obj.Save(sqlAccessType);
        }
Beispiel #2
0
 public void UpdateCategories(BusinessObjects.Categories obj)
 {
     obj.AcceptChanges();
     obj.MarkAllColumnsAsDirty(EntitySpaces.Interfaces.esDataRowState.Modified);
     obj.Save();
 }