title: Change datamember name based on method
body: <pre><code> [DataContract()]
   public class Contract
   {
      .........
  Some Properties with DataMembers Attribute.
      ............
      ..............
  
    [DataMember(Name = "FirstName")]
    public string Name  {   get;   set;  }
   }
  </code></pre>
  
  <p>I have above class and I have two web methods (operations)</p>
  
  <p>In 1st web method I want to expose Name as FirstName and in 2nd web method expose Name as LastName.</p>
  
  <p>I don't want to create separate data contracts.</p>
  
  <p>Please tell me how to achieve this?</p>