Hello,
I'm looking for the Entity Framework equivalent of dataset's tableAdapter.Fill/tableAdapter.FillByBy.
Because they were reusable to refill a GridView (Windforms), possibly using a different 'where clause'.
The only way I know to fill/refill the GridView from DB now using EF with different parameters:
this.myBindingSource.DataSource = myNewSelectQueryObject;
the 'first fill' with this works fine, but the second one will cause the DataSource et the GirdView to be impossible to edit. (Although the BindingSource the GridView are NOT 'readonly'.) a,d EF.Refresh() doesn't seem to update records that could be in the DB but are not present in the 'EF'.
Thank you for your help.