I diff'ed two instance of Order where a new OrderDetail instance had been added to the array of one: changedOrder. If the originalOrder was on the left in the function call, then the resulting diff.PropertyType evaluated to "System.Collections.Generic.List'1[Models.OrderDetail]", as expected. --> However, ifchangedOrder was on the left, then the diff.Property type evaluated to "Models.OrderDetail".
Note that in both cases, the diff.Property value was "OrderDetails" (with an 's'), which is the collection variable's name.


I diff'ed two instance of
Orderwhere a newOrderDetailinstance had been added to the array of one:changedOrder. If theoriginalOrderwas on the left in the function call, then the resultingdiff.PropertyTypeevaluated to "System.Collections.Generic.List'1[Models.OrderDetail]", as expected. --> However, ifchangedOrderwas on the left, then thediff.Propertytype evaluated to "Models.OrderDetail".Note that in both cases, the
diff.Propertyvalue was "OrderDetails" (with an 's'), which is the collection variable's name.