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
|
I was wondering if there was a way to dynamcally create a LiftedPathExpression from a PredicateExpression? I am doing dynamic relational querying and would like to take an existing QueryExpression and apply it to an Exists query on a child QueryExpression. I was trying to parse it manually but ran into a speed bump creating the LiftedPathExpression.
|
|
|
here is what I have so far just in case it gives you insight as to what I am trying to do.
//name is the name of the Parent Entity for the Lifted Path public static QueryExpression ParseParentExpression(QueryExpression exp, string name) |
|
|
Hi MiddleTommy :) There are no public mechanisms for achieving this, however if you are rebuilding from source you could look at the Rebase(liftedPathExpression) method on PredicateExpression which will return a new LiftedPathExpression targeting the Predicate but with the traversals of the original Path you supplied.
Jeremy |
|
|
Sadly I dont have the source |
|
|
Hi MiddleTommy, Just as an aside from the main point of this thread, we do offer upgrades for the price difference if you'd like to upgrade to the edition including source. We don't provide this directly in the store but if you're interested let me know and I can send you a link that will price it at the difference between your sku and the enterprise edition. Now back to the topic...
|
|