When needing the average value of a property, apply the ________ aggregate function in Entity Framework.

  • Average()
  • Count()
  • Max()
  • Sum()
The correct aggregate function to calculate the average value of a property in Entity Framework is Average(). Average() calculates the average of a numeric property across all items in a sequence. Sum() calculates the total sum of a numeric property. Count() counts the number of elements in the sequence. Max() returns the maximum value in a column.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *