title: how to pass parameters to LINQ where condition dynamically
body: <p>Im new in LINQ,i need to pass different conditions on the same LINQ query like:</p>
  
  <pre><code>  var rslt = (from t in cr.faultStat              
               where(parameter)
               select new{
  
               name=t.Name,
               Fname=t.fname
  
               });
  </code></pre>
  
  <p>the parameter seen in the where ,is the part i want to send conditions dynamicaly but i dont know how,because where accepts boolean,but i want to send something like:</p>
  
  <pre><code> string parameter="date&gt;"2018-10-10" &amp;&amp; id="123"
  </code></pre>
  
  <p>generally how should i send parameter to linq dynamically </p>