This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Without purchasing the Enterprise edition is there a way to hook into the ExpressionVisitor to build certain parts of the expression in a custom way. What I am wanting to try to do is demonstrated on Faculty of the Mind(Linq Specification Pattern and Encapsulation)
Subclassing ExpressionVisitor is fine by me, though I can see that it may be like giving a stranger a key to your house. How would I go about putting this into the Provider somehow? David |
|
|
We don't currently provide a mechanism to do this. However, looking at the article, it sounds like he is actually manipulating the expression externally to the LINQ provider (in his case LINQ to SQL), rather than overriding part of the provider itself. I didn't understand how he hooked his custom expression visitor into the LINQ to SQL query building process (is there a custom implementation of IQueryable that I missed?), but I'm guessing that whatever he did, the same technique would work with LINQ to LightSpeed. If not, let us know where the sticking point is and we'll see if we can address it. |
|