Hi,
Im currently comparing an object with below
Should().ContainEquivalentOf(myObj, options => options.Excluding(person => person.Id));
myObj has a property in it called Creation as DateTime and when comparing myObj with person there is a slight difference in the DateTime milliseconds. How is best to handle this without ignoring the Creation property in the object?
Thanks
Im currently comparing an object with below
Should().ContainEquivalentOf(myObj, options => options.Excluding(person => person.Id));
myObj has a property in it called Creation as DateTime and when comparing myObj with person there is a slight difference in the DateTime milliseconds. How is best to handle this without ignoring the Creation property in the object?
Thanks