title: send Iqueryable as parameter To Function
body: <p>I Send Iqueryable to a function that is below</p>
  
  <pre><code>void Method&lt;T&gt;(ref IQueryable&lt;T&gt; qu)
  {
      foreach (T item in qu)
      {
  
      }
  }
  </code></pre>
  
  <p>because i need use from tis function for some diffrent Iqueryable
  and call this method with</p>
  
  <pre><code>Patient_BusinessEntity Be = new Patient_BusinessEntity();
  IQueryable&lt;PatientDataAccess&gt; Query = Be.GetAllRow();
  Method&lt;PatientDataAccess&gt; (ref Query);
  </code></pre>
  
  <p>his work Successfully </p>
  
  <p>now i want use from property of item(variable of loop) in loop</p>
  
  <p>how to can i do this ?</p>
  
  <p>Thanks 
  IFA</p>