title: IQueryable C# Select
body: <p>this is my code... but i need select only column to display in my Datagridview.
  I Need the code to select only some columns.. example</p>
  
  <pre><code>Select{t =&gt; t.usu_Login, t =&gt; t.usu_Login}
  
  public List&lt;tb_usuario&gt; Get(FilterDefinition filter)
  {
  
       var contexto = new indNET_Entities();
  
       IQueryable&lt;tb_usuario&gt; Consulta = contexto.tb_usuario.AsQueryable&lt;tb_usuario&gt;()
                                                          .Where(t =&gt; t.usu_Ativo == 1)
                                                          .OrderBy(t =&gt; t.usu_Login);
  
  
       return Consulta.ToList();
  
  }
  </code></pre>