title: How to use Exclude in FluentAssertions for property in collection?
body: <p>I have two classes:</p>
  
  <pre><code>public class ClassA
  {
    public int? ID {get; set;}
    public IEnumerable&lt;ClassB&gt; Children {get; set;}
  }
  
  public class ClassB
  {
    public int? ID {get; set;}
    public string Name {get; set;}
  }
  </code></pre>
  
  <p>I want to use fluent assertions to compare to ClassA instances. However I want to ignore the IDs (because the IDs will have been assigned after the save).</p>
  
  <p>I know I can do this:</p>
  
  <pre><code>expectedA.ShouldBeEquivalentTo(actualA, options =&gt; options.Excluding(x =&gt; x.PropertyPath == "Children[0].ID"));
  </code></pre>
  
  <p>Which I can obviously repeat for each ClassB in the collection. However I'm looking for a way to exclude the all the IDs (rather than doing an exclude for each element).</p>
  
  <p>I've read <a href="https://stackoverflow.com/questions/15361521/how-do-i-exclude-a-property-of-all-items-in-ienumerable-when-using-shouldbeequiv">this question</a> however if I remove the [0] indexers the assertions fail.</p>
  
  <p>Is this possible?</p>