title: Filtering with CollectionViewSource in MVVM/XAML in Silverlight
body: <p>I have 4 tables: </p>
  
  <ol>
  <li>Stores => StoreID , AddressID </li>
  <li>Contacts => ContactID, StoreID, DesignationID,   </li>
  <li>Designation => DesignationID </li>
  <li>Address => AddressID</li>
  </ol>
  
  <p>In Entity Query I used Include while getting all the details of the stores.</p>
  
  <pre><code>ObjectContext.Stores.Include("Address").Include("Contacts.Designation");
  </code></pre>
  
  <p>So I got all the stores with all their contacts and other objects like Address. Now I want to filter Store's contacts but our Domain Service Linq does not allow filtering with Include. It include all the data. So I want to use CollectionViewSource for filtering my child data. </p>
  
  <p>In UI, I have One ListBox for Store Information and within that ListBox -> I have one more list box for store's Contacts and I want this Contacts to be filtered with some condition on its Load... </p>
  
  <p>I can't figure out how to do this with MVVM or directly in XAML. But Doing it with MVVM is preferably better.</p>
  
  <p>Can anyone please help me solving this problem?</p>
  
  <p>Thanks for your time and help. </p>