title: Why am I not getting .CopyToDataTable() in Linq Query()
body: <p>This following code example is borrowed from MSDN <a href="http://msdn.microsoft.com/en-us/library/bb386921.aspx" rel="noreferrer">here</a>.  I am not getting query.CopyToDataTable() available in my code. (see the commented line in my following code).  </p>
  
  <pre><code>public static bool SetPhysicianAsNotonServer(DataTable dt)
          {
              DataTable dtPhysicianServer = dt;
              DataTable dtPhysicianClient = GetPhysicianClient();
  
              var query =
                  from SPhysician in dtPhysicianServer.AsEnumerable()
                  join CPhysician in dtPhysicianClient.AsEnumerable()
                  on SPhysician.Field&lt;string&gt;("PhysicianNumber") equals
                      CPhysician.Field&lt;string&gt;("PhysicianNumber")
                  select new
                  {
                      PhysicianNumber = CPhysician.Field&lt;string&gt;("PhysicianNumber")
                   };
  
              DataTable FilterDt = query; //query.CopyToDataTable();
              //YET TO DO CODE HERE
              return true;
          }
  </code></pre>