title: ObjectContext.Translate - Use different property names
body: <p>I am using Entity Framework and calling a stored procedure as described here: <a href="http://msdn.microsoft.com/en-us/data/jj691402.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/data/jj691402.aspx</a> under "Accessing Multiple Result Sets with Code"</p>
  
  <p>After executing the stored procedure I am using the ObjectContext.Translate method to get my results into a data contract object, which requires that the data contract properties match up to the data returned.</p>
  
  <p>Is there any way I can use different property names, yet still have the Translate method map them correctly?</p>
  
  <p>For example, I have a procedure for getting a list of countries, which returns the following columns: listID, listName. Instead of those names, I would like my data contract object to have just ID and Name.</p>
  
  <p>I tried adding a Name parameter to the DataMember attribute, but that didn't work.</p>
  
  <pre><code>[DataMember(Name="listID")]
  public string ID { get; set;}
  </code></pre>