hi,
new to LLBLgen & ORM's so apologise for what i assume is an easy solution.
my entities look something like this:
class TABLE1
public int ID get/set
public string EntityName get/set
public List<JoinTableEntity> get/set
class JoinTableEntity:
public int ID get/set
public int Table1_FK get/set
public int Table2_FK get/set
public Table2 Table2 get/set
Class Table2
public int ID get/set
public string Name get/set
now my domainQuery:
new DomainQuery<Table1>
{
Query = ID,
PrefetchItems = { new Prefetch(typeof(JoinTableEntity)) }
};
the problem is, the Table2 is not being populated for my jointableEntity.
because i want to return the value from my
JoinTableEntity.Table2.Name
so i want to add a prefetch to the prefetch?how do i correctly go about this?