EDMX new column generates error on ToList() call <p>We've added a new column to a database table. The column is defined as follows:</p> <pre><code>Name: DisplayAsSoldOut Type: Boolean NOT NULLABLE Default Value: 0 </code></pre> <p>We've refreshed our EDMX data model and the new column appears just fine. We are on an ASP.NET 4.0 platform using C#.</p> <p>We have a class defined as PagedList which inherits from List and implenents an interface IPagedList</p> <p>Within the PagedList we have the following method:</p> <pre><code>protected void Initialize(IQueryable&lt;T&gt; source, int index, int pageSize, int? totalCount) { if (index &lt; 0) { throw new ArgumentOutOfRangeException("PageIndex cannot be below 0."); } if (pageSize &lt; 1) { throw new ArgumentOutOfRangeException("PageSize cannot be less than 1."); } if (source == null) { source = new List&lt;T&gt;().AsQueryable(); } if (!totalCount.HasValue) { TotalItemCount = source.Count(); } PageSize = pageSize; PageIndex = index; if (TotalItemCount &gt; 0) { PageCount = (int)Math.Ceiling(TotalItemCount / (double)PageSize); } else { PageCount = 0; } HasPreviousPage = (PageIndex &gt; 0); HasNextPage = (PageIndex &lt; (PageCount - 1)); IsFirstPage = (PageIndex &lt;= 0); IsLastPage = (PageIndex &gt;= (PageCount - 1)); if (TotalItemCount &gt; 0) { AddRange(source.Skip((index) * pageSize).Take(pageSize).ToList()); } } </code></pre> <p>When we reach the following line:</p> <pre><code>{ AddRange(source.Skip((index) * pageSize).Take(pageSize).ToList()); } </code></pre> <p>we receive the following Exception ...</p> <pre><code>Type: System.Data.EntityCommandExecutionException Inner Exception: "Invalid column name 'DisplayAsSoldOut'." </code></pre> <p>I've tried searching for this type of exception but to no avail. The column appears in the EDMX dataset just fine. I even created a small throwaway program and imported the EDMX to do a simple read from the database and it worked fine. Has anyone run across something similar?</p> <p>I apologize for the lengthy post but wanted to present as much info as I could.</p>