title: PetaPoco - Property names from a dynamic type
body: <p>I'm attempting to return names of properties of returned from database dynamic type:</p>
  
  <pre><code>var d = mDataAccess.Single&lt;dynamic&gt;("select col1 = 'asd', col2 = 'qwe'");
  object o = d;
  var props = o.GetType().GetProperties();
  int propsCount = props.Count();
  </code></pre>
  
  <p>the propsCount is 0, however I expect to have 2,
  in which case the code below would return to me two names: col1 and col2</p>
  
  <pre><code>List&lt;string&gt; names = o.GetType().GetProperties().Select(x =&gt; x.Name).ToList();
  </code></pre>
  
  <p>Any ideas why I don't get properties that I expect?</p>