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 have an Entity<Material> that references another entity of the same type. When the Get(EntityHolder) method is called it always return null; If I manully look up the Entity It works fine. I have done a work around for this but a fix would be great --Work Around-- public class Material { [ReverseAssociation("Remnants")] public Material CutFrom //... |
|
|
I think this only happens when you EagerLoad the Backreference. I turned off eager load and now it works fine
|
|
|
Hi MiddleTommy :) Just trying to repro this one to take a look at it - we have set up a one entity model (Employee) which refers back to itself (Manager/Employee relationship) - and as per your thoughts above I set the backreference to be eager loaded. However in both cases (eager or not) I am not seeing any issue in loading the associated manager. Any more detail or a quick repro case you can provide here? We would be keen to investiagate this one :)
Thanks! Jeremy |
|
|
I worked up a test but could not reproduce the behavior either. So I went back to my original App and turned EagerLoad Backreference back on and I could still not reproduce this behavior. I will post more if this behavior ever re-surfaces; |
|