title: OData on .Net Core doesn't return the right results on $select
body: <p>I've added OData to my WebAPI project.</p>
  
  <p>Versions: </p>
  
  <ol>
  <li>Core 3.1 </li>
  <li>OData 7.3.0 (beta version in order to work with Core 3.x)</li>
  <li>EF Core 3.1.0</li>
  </ol>
  
  <p>Here is my startup.cs</p>
  
  <pre><code>public class Startup
  {
      public Startup(IConfiguration configuration)
      {
          Configuration = configuration;
      }
  
      public IConfiguration Configuration { get; }
  
      public void ConfigureServices(IServiceCollection services)
      {
          services.AddDbContext&lt;Models.Contexts.EntityContext&gt;(opts =&gt; opts.UseSqlServer(Configuration["ConnectionString:MailBackup"]));
          services.AddControllers();
          services.AddMvc(options =&gt;
          {
              options.EnableEndpointRouting = false;
          }).SetCompatibilityVersion(Microsoft.AspNetCore.Mvc.CompatibilityVersion.Version_3_0);
  
          services.AddOData();
      }
  
      public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
      {
          if (env.IsDevelopment())
          {
              app.UseDeveloperExceptionPage();
          }
  
          app.UseMvc(routeBuilder =&gt;
          {
              routeBuilder.EnableDependencyInjection();
              routeBuilder.Expand().Select().OrderBy().Filter();
          });
  
          app.UseHttpsRedirection();
          app.UseAuthorization();
  
      }
  }
  </code></pre>
  
  <p>And the controller is:</p>
  
  <pre><code>[EnableQuery()]
  [HttpGet]
  [Route("GetAll")]
  public IQueryable&lt;Models.EmailMessage&gt; GetAll()
  {    
      return this._context.EmailMessages;
  }
  </code></pre>
  
  <p>The APIs are working fine, but when I try to add some OData action like $select I get the following and not the expected results:</p>
  
  <pre><code>{
      "instance": null,
      "container": {},
      "modelID": "529e8054-04c4-4729-aa91-d7eaf67a55d0",
      "untypedInstance": null,
      "instanceType": null,
      "useInstanceForProperties": false
  },
  {
      "instance": null,
      "container": {},
      "modelID": "529e8054-04c4-4729-aa91-d7eaf67a55d0",
      "untypedInstance": null,
      "instanceType": null,
      "useInstanceForProperties": false
  },
  </code></pre>