title: DbContext.Database.SqlQuery returns some null objects
body: <p>Using <code>Entity Framework 6</code>, the code below queries a table (really, a view) and returns some number of rows. The number of rows is correct, but many of the rows are null, i.e. some of the <code>Licenses</code> objects are null, as seen in the Visual Studio Watch window. I think what is happening is that if any column of a given row in the view contains a null, then the entire row is being set to null.
  Any ideas on how to get all the correct data?</p>
  
  <pre><code>String query = "select * from dbo.v_Licenses where [Number] like '%ab%'";
  System.Data.Entity.Infrastructure.DbRawSqlQuery&lt;Licenses&gt; dbRawSqlQuery = db.Database.SqlQuery&lt;Licenses&gt;(query);
  Queryable&lt;Licenses&gt; licenses = dbRawSqlQuery.AsQueryable();
  </code></pre>