Пример #1
0
        static public void Delete(System.Int32 productID, esSqlAccessType sqlAccessType)
        {
            var obj = new Products();

            obj.ProductID = productID;
            obj.AcceptChanges();
            obj.MarkAsDeleted();
            obj.Save(sqlAccessType);
        }
Пример #2
0
 public void UpdateProducts(BusinessObjects.Products obj)
 {
     obj.AcceptChanges();
     obj.MarkAllColumnsAsDirty(EntitySpaces.Interfaces.esDataRowState.Modified);
     obj.Save();
 }