Hello,
I have a case where I want full control on the sql query text produced for a predicate. In the past, using the LL API, I could create a new custom inherited predicate and override the output text to render the statement I wanted.
Now that I am using linq, I see that I can utilize something similar, a functionmapping. The function mapping examples shown assume a static list of arguments. Ideally, I would like to pass an array of parameters into the functionmapping, and have control over the rendering of the query text, rather than the default string.format mapping of parameter {0}, {1}, ... in the string to the supplied fixed number of parameters.
Is there a way to create a functionmapping where I can control the implementation of the substitution in creating the query output text? or is there a way in linq where I can create my custom LL predicate and use that in linq to render my custom predicate?
Thanks.
Can1