I tried your solution and it worked out very well.
I had to work a little bit on each of my parameter's properties, but it finally did what i was expecting.One query does everything when i tought i had to create many many queries for every combination of parameters.
And even if my tables content over 7 millions records, the execution is not that slow.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.