Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Select Maximum number from a numeric field in an entity.

$
0
0

Hi guys, what is the best way to retrieve the maximum value from a numeric field in an entity?

Something like this in SQL Server: Select MAX(NumbericFieldName) From TableName. 

Maybe: 

var maxZ = list.Max( obj => obj.Z ); is this possible?

Thanks,

john


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>