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 Guys, I have a weird problem, I have an object with a relationship to two other objects and eager loading set to true. When I perform the following query lightspeed will bring back my object and it's relationships:
from m in uow.col BUT when i perform the query with a left outer join it will bring back my object but none of it's relationships.
from m in uow.Col
|
|
|
Hi Darren, Is this relating to your uow.Col entity? If so, based on your query it looks like it should be eager loading if applicable. Eager loads are performed on the root entity only and only in cases where there is not a server side projection - e.g. select new { m.Id, m.SomeProperty } If this is relating to your uow.Add entity, then no it should not be eager loading.
Jeremy |
|