title: Reflection in Entity Framework C#
body: <p>I am trying to use reflection to make a dynamic select through Entity Framework.</p>
  
  <p>The idea is that the method will get as parameters the column name, the value for each column to search and the order of each column.</p>
  
  <p>For example:</p>
  
  <pre><code> public anEntity list(String ColumnName, String Value, String Order)
   {
      //
      //...
      items = (from r in context.Products
               where r.GetType().GetProperty(ColumnName). Contains(Value)))
               select r).OrderBy(Order).ToList();
      returns Items
   }
  </code></pre>
  
  <p>Is it possible? Could you help me?</p>