title: How to filter data using Entity Framework in a way that DataGridView be editable and context track changes?
body: <p>I'm using C# Windows Form Application to populate data from sql server database table using Entity Framework (EFWinForms) using the following code : </p>
  
  <pre><code>MyEntityDataModel db = new MyEntityDataModel();
  MyEDS = new EntityDataSource();
  MyEDS.DbContext = db;
  MyDataGridView.DataSource = MyEDS;
  MyDataGridView.DataMember = "MyTable";
  </code></pre>
  
  <p>It works fine. When user edit,add data ; data can be saved using the following code :</p>
  
  <pre><code>MyEDS.SaveChanges();
  </code></pre>
  
  <p>I want a way to filter these data throug Entity Data source so that MyDataGridView remains editable and any update done by user in filtered data can still be Saved back to database.
  Note: When using linq to entity to filter data it works great but it just populate a snapshot of data that can't be edited or updated by user again.</p>