title: ObservableCollection is not updated when item are added to database directly
body: <p>I'm using EF to connect to my database. I have a <code>DbContext</code> that I use to get a <code>DbSet&lt;MyDataModel&gt;</code>. I use an <code>ObservableCollection&lt;MyDataModel&gt;</code> to bind the data to a <code>GridView</code> in WPF. This is how I populate the collection:</p>
  
  <pre><code>ObservableCollection&lt;MyDataModel&gt; myCollection = new ObservableCollection&lt;MyDataModel&gt;(dataContect.MyDataModels);
  </code></pre>
  
  <p>The problem is that my database is updated from another source (another application completely) and the <code>ObservableCollection</code> does not detect when an item is added to the database. I don't see how it would, but I don't know how I can make it? The database contains a lot of entries (>10k) so I would prefer not reloading all the entries periodically..</p>
  
  <p>What can I do?</p>
  
  <p><strong>Edit:</strong>
  I think I was a bit unclear (and not really sure of how <code>ObservableCollections</code> works), but yeah, I realize now that my main question is how to refresh the <code>DbContext</code> when the database is updated. It doesn't really have much to do with the <code>ObservableCollection</code> itself. </p>