UXGrid and DevForce 6.1.3

1 reply. Last post: November 13, 2011 9:00 PM by Handy Surya
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

While using DevForce V 6.1.3.1 with UxGrid , I have come across a problem

IRevertibleChangeTracking is not implemented on IdeaBlade.EntityModel.Entity

Hence the existing code in EditableDataRepository.cs shown below 
 public virtual void RejectChanges(T entity)
        {
            
            IRevertibleChangeTracking revertible = (IRevertibleChangeTracking)entity;
            revertible.RejectChanges();
        }
has to be modified as
 public virtual void RejectChanges(T entity)
        {
            // Change on 8/Nov/2011 by Bala for DevForce version 6.1.3.1 
            IRevertibleChangeTracking revertible = (IRevertibleChangeTracking)entity.EntityAspect;
            revertible.RejectChanges();
        }

 

 

Hope this Helps

 

Regards

 

Balachander

All times are GMT -5. The time now is 2:17 AM.
Previous Next