This example demonstrates how to find the object with the highest value from a collection. Here the Quote class has a collection of QuoteItem objects.
Question Comments
Added By: Baha'a Eldin Elsayed at: 3/17/2015 7:41:21 AM
How to do this in XAF. I believe I cannot use Defaultsession in XAF
Added By: Dennis (DevExpress Support) at: 3/17/2015 8:16:42 AM Yes, you are correct. You can use the Session of the XPObjectSpace object instead. Check out the https://documentation.devexpress.com/#Xaf/CustomDocument3708 article for more details.