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
|
Hi all, I'm having an issue with circular associations I'm unsure how to get around. I have the following entity relationship.
One , Many Spider.AdminPlan -> Plan.AdministratorPlans Spider.UserPlan -> Plan.UserPlans
This is giving me an exception of circular reference. Everything is lazy loaded, and from a program perspective I'm only going to be access the "one" side on the spider. How can I get around this with LS?
Thanks, Todd |
|
|
Hmm, this doesn't look like there's a circular reference. Could you provide us with a small project to reproduce this issue? Thanks! |
|
|
Sorry for the delay Ivan, had to work on another branch of Code. Now that I'm back and took a break from the code I quickly found the problem. On the "many" side of the relationship I had forgotten to include the Id field for the entity. Once I added them the issue dissapeared. |
|