Linq group month by quarters

后端 未结 4 1460
一个人的身影
一个人的身影 2020-12-30 12:21

Is it possible to do a linq group by and group months into quarters, Ie Q1 Jan to apr etc etc

4条回答
  •  不思量自难忘°
    2020-12-30 12:48

    Yes it can be achieved with the LINQ to SQL GroupBy function if you define the qouters somewhere in your database or you can write some code that will handle this action it all depends on what data is available to you for this evaluation.

提交回复
热议问题