title: Typesafeing by getting Entity Framework entity column names
body: <p>I'm currently binding to a control from code-behind.</p>
  
  <p>For example: </p>
  
  <pre><code>            var ctx = new MyEntities();
              var source = from o in ctx.Users
                           select o;
  
              myControl.DataSource = source;
              myControl.DataTextField = "SomeColumn1"; // Can I not typesafe this?
              myControl.DataValueField = "Somecolumn2";
              myControl.DataBind();
  </code></pre>
  
  <p>Ideally I'd like to get the property names from EF. Other ORMs tend to provide an Enum with all the available property names. Is this not the case with EF?</p>