Hi I am trying to read the properties of a School entity as follows:
StageCollection sgc = new StageCollection();
PrefetchPath prefetchPath = new PrefetchPath((int)EntityType.StageEntity);
prefetchPath.Add(StageEntity.PrefetchPathBezoek);
** prefetchPath.Add(StageEntity.PrefetchPathLocatie).SubPath.Add(LocatieEntity.PrefetchPathSchool);**
prefetchPath.Add(StageEntity.PrefetchPathStudentCollectionViaStudentStage);
PredicateExpression filterGroep = new PredicateExpression();
filterGroep.Add(StageFields.Groep == groep);
sgc.GetMulti(filterGroep, prefetchPath);
foreach (StageEntity st in sgc)
{
st.Locatie.School.Naam; <-- the 'Naam' property isn't visible in intellisense, why not?
}
Stage has an ID that references Locatie and Locatie has an ID that references School.
Thanks,Karim