Is it possible to override/instruct LLBLGen to reuse parameters in the generated SQL of a query when the values are the same?
I'm hitting the 2100 limit in parameters and I could greatly reduce the numbers if all the parameters, for example, where the value was "0", all used the same "@MySharedParameter1=0", instead of dozens of parameters whose value is "0".
Any thoughts? (Currently LLBLGen 1.0.2005.1 July 6th, but will be upgrading to 2.0 as soon as I get around to refactorring over a thousand lines of code that use the EntityCollection class...
)
EDIT: Well, it turns out I was recursively adding embedded predicate expressions creating an exponential growth in clauses. I figured this out using LLBLGen's Verbose debug switches. (I had 5000 parameters which was way too much...)
So this issue is less important for me know, but might be worth while anyways if it would improve performance.