title: select two columns using lambda expression
body: <p>I have a table with several columns (clm1-clm10). The datagrid is populated with all columns as follows:</p>
  
  <pre><code>MyTableDomainContext context = new MyTableDomainContext();
  dataGrid1.ItemsSource = context.DBTables;
  context.Load(context.GetDBTablesQuery());
  </code></pre>
  
  <p><code>GetDBTablesQuery()</code> is defined in <code>domainservices.cs</code> as follows:</p>
  
  <pre><code>public IQueryable&lt;DBTable&gt; GetDBTables()
  {
      return this.ObjectContext.DBTables;
  }
  </code></pre>
  
  <p>How can I displayed only two columns (e.g. clm1 and clm5) using the select lambda expression?</p>