I have been using LINQ with compiled queries, basically passing into the compiled query using Func
but the problem is that it has a maximum of four parameters.
Is it good practice to extend this?
Is there any way to extend this or should I create my own delegate?
Sometimes I need to pass six params and others five and others four or less... so with four or less I could continue using the Func
delegate.
Currently passing in data context and a mix of the params I need are dependent on each individual compiled query.