Parent -> Children -> Parent mapping?

Oct 1, 2011 at 6:40 AM

When using the ConventionInjection how would you handle the following mapping situation?

Customer -> Projects (IList<Project>) -> Project -> Customer

Right now, I end up with a stackoverflow obviously because of the endless loop.

 

Any thoughts?

 

Btw. Great api, best one I've found!

Oct 1, 2011 at 9:13 AM
Edited Oct 1, 2011 at 7:38 PM

Came up with a pretty good solution. I'll post it in the next few days with my convention. It's what I'm using for Entity->ViewModel and ViewModel->Entity.  The convention can be found in anther discussion.