Enumerable.Range in and Expression and Entity Framework
- by eka808
I'm currently developping an expression method (used in linq to entity queries) who has to give me
a daycount for a given period (start date and end date)
decrementing this daycount if specials days are in the period.
My idea was the following :
Generate an enumerable with all the dates (and with Enumerable.Range)
Make a .Where on this…