title: mongoDB Rename embedded field
body: <p>how do we rename embedded fields using C# with mongoDB ? An example of document <strong>Person</strong> would be:</p>
  
  <pre><code>{
  Id: 1,
  LastName: "Smith",
  FirstName: "John",
  Orders: {
           Id: 1,
           Name: "Trousers" // I want to rename **Name** into **Something**
      }
  }
  </code></pre>
  
  <p>With mongoDB syntax, it would be something like </p>
  
  <pre><code>db.Users.update({}, {$rename:{"Orders.Name":"Orders.Something"}},true, true)
  </code></pre>
  
  <p>Thanks.</p>