Is it possible to get the prefetch paths needed to eager load an entity based on what another instance of that entity already has loaded?
Here's an example of what I'm trying to do:
1. Receive a request to update a customer (from a web page or service)
2. Instantiate a new instance of CustomerEntity with the information (everything is new on the instance)
3. Before saving the customer information, get the customer information from the database in order to determine what the deltas are.
Step #3 is where I need to determine how deep to load the customer (using prefetchpath). I don't want to load all of the customer's phones, contacts, etc if the only thing updated was the customer's name. I figure if I can interrogate the entity built in step #2 in order to find out what is being updated (using GetMemberEntityCollections()) I could use that to interrogate the relationships on the entity in order to get the prefetchpaths I need in order to eager load the right amount of data.
using...
LLBLGen Pro v3.5 (4/20/12)
VS2010/.NET 4.0
LLBLGen framework with adapter model