To calculate the total sum of a numeric column in a DbSet, use the ________ method.

  • Average()
  • Count()
  • Max()
  • Sum()
The correct method to calculate the total sum of a numeric column in a DbSet is Sum(). Sum() aggregates the values of a specified property across all items in the DbSet and returns the total sum. Count() returns the number of elements in the sequence. Average() returns the average value of a numeric column. 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 *