I have an ADO.NET Entity Data Model and want to plumb up a DataGridView for CRUD operations. How should I go about this?
For a read-only DataGridView I’ve been doing the following
TimeTrackEntities tte = new TimeTrackEntities(); //Entity Data Model
ObjectQuery<Days> DayQuery = tte.Days;
dgvDays.DataSource = DayQuery;
I’ve read that most people use LINQ To Entities for working w/ EF in the context of a data source for data grids.
Would be nice if the new version would support an DataAdaper style update method. Here is a article on the new version coming of with .net 4 / VS2010.