title: Unable to determine the serialization information when trying to query the child MongoDB C#
body: <p>Um sharing my code Im using to query  and get a matching child element to do an update to an element in an array in mongoDB Collection </p>
  
  <pre><code>                var filter = Builders&lt;Fruit&gt;.Filter.Eq( x =&gt; x.Id, fruitId );
                  var update = Builders&lt;Fruit&gt;.Update.Set( x =&gt; x.FruitDetails.FirstOrDefault( y =&gt; y.Id.Equals( FruitDetail.Id ) ), FruitDetail );
  </code></pre>
  
  <p>Unfortunately this throws an  error in Update Linq Query and i do not know how to fix this </p>
  
  <pre><code>   Unable to determine the serialization information for the expression: (Fruit x) =&gt; Enumerable.FirstOrDefault&lt;FruitDetails&gt;(x.FruitDetails, (Fruit p) =&gt; p.Id.Equals(&lt;mongoID&gt;)).
  </code></pre>