Hi,
I've used LLBLGen's datasource controls on webforms and they work great.
I'm doing a Win forms project now (VS2008, .NET 3.5, LLBLGen 2.6, DevExpress XtraGrid) and I read the recommendation to bind the grid to a BindingSource with the EntityCollection as the BindingSource's data source.
I'd like to know the best way to persist grid changes. I allow new row insertion and editing in the grid, and I found that the changes are made to the EntityCollection but not persisted in the DB.
I feel like I'm missing something
May I know how best or where I should invoke SaveMulti(true) on the EntityCollection? I can't think of any value in letting changes sit in the EntityCollection without persisting immediately.
Thanks,
Cheng