title: Data binding directly to a store query (DbSet, DbQuery, DbSqlQuery, DbRawSqlQuery) is not supported
body: <p>There error is as the title states: <strong><em>Data binding directly to a store query (DbSet, DbQuery, DbSqlQuery, DbRawSqlQuery) is not supported.</em></strong> I've tried searching for possible fixes, but couldn't find the one that was working for me.</p>
  
  <p>Here is my DataLayer:</p>
  
  <pre><code>public virtual IQueryable&lt;T&gt; All()
  {
      return this.DbSet.AsQueryable();
  }
  </code></pre>
  
  <p>My Controller:</p>
  
  <pre><code>public IQueryable&lt;Movie&gt; GetAllMovies()
   {
       var data = this.Data.Movies.All().Select(x =&gt; new Movie
       {
           Id = x.Id,
           Name = x.Name,
           ReleaseDate = x.ReleaseDate,
           Rating = x.Rating,
           Duration = x.Duration,
           Director = x.Director,
           Writer = x.Writer,
           Cost = x.Cost,
           Type = x.Type
          }).OrderBy(x =&gt; x.Id);
  
          return data;
      }
  </code></pre>
  
  <p>And my GUI where I am calling it:</p>
  
  <pre><code>public MovieManagementGUI()
      {
          InitializeComponent();
  
          ***this.radListView1.DataSource = movieCtr.GetAllMovies();*** //&lt;-- Here I am getting the error
          this.radListView1.ViewType = ListViewType.IconsView;
  
          this.radListView1.AllowEdit = false;
          this.radListView1.AllowRemove = false;
  
          ImagePrimitive searchIcon = new ImagePrimitive();
          searchIcon.Alignment = ContentAlignment.MiddleRight;
  
  
          SetupIconsView();
      }
  </code></pre>
  
  <p>I am trying to fetch all the data from the the DB and post it in a ListView. Can somebody look at the code and try fixing me up and if you need additional code, let me know.</p>
  
  <p>Thank you,</p>
  
  <p>Marius J.</p>