title: Mapping from DataTable to custom model with property names different than column names
body: <p>In the application I am working on the data is acquired and returned in data sets. However, I want to make the application model-based, therefore I need to map data sets to my custom model classes. I have come across <b><a href="http://www.geekytidbits.com/automapper-with-datatables/" rel="nofollow">this</a></b> way of converting data tables to custom model classes.</p>
  
  <p>As I have no control on the data source that returns data sets, I cannot rename its column names. And still in the model class I want to use properties with names of my own convention. </p>
  
  <p>The case is: say I have a model</p>
  
  <pre><code>class PersonModel
  {
      public int ID { get; set; }
  
      public string FirstName { get; set; }
  
      public string LastName { get; set; }
  }
  </code></pre>
  
  <p>and the source data table has columns named <code>Identificator</code>, <code>First_Name</code>, <code>Last_Name</code>. Is there a way to somehow bind corresponding labels and map the content of the data table to a collection of <code>PersonModel</code>?</p>