This example illustrates how to implement CRUD operations with XtraGrid and EF 5. To get a possibility to commit changes it is necessary to store DbContext instance that is used to get the grid's data source. Than when necessary, you can commit changes to the data base using the DbContext.SaveChanges method
Question Comments
Added By: Hassan Gulzar at: 2/1/2015 5:26:37 AM
I'm having issues with this approach. I have a DirType Entity that has many DirParam Entities each. If I bind to grid as mentioned below, I get the desired drilling but in the child view, If I enter a value for any cell and move to another cell, the value disappears. This is not happening on main view but sub views only.