title: Problem with domain services in the Silverlight
body: <p>I have the following code in the Silverlight RIA WCF services application: </p>
  
  <pre><code>protected override void OnNavigatedTo(NavigationEventArgs e)
  {
      EmployeesService2 context = new EmployeesService2();
      EntityQuery&lt;Employee&gt; query = context.GetEmployeeQuery();
      context.Load(query);
      int count = context.Employees.Count();
      EmployeeGrid.ItemsSource = context.Employees;
  }
  </code></pre>
  
  <p>It populates Grid with items, but <code>context.Employees.Count() = 0</code>. Why is this so? </p>
  
  <p>Another problem is that I have a similar code for another page against different domain service which
  based on another entity model and database. But in that case the service didn't return any entities. What can be possible reason for that? The database is not empty. </p>