Can you help me,
Its not completely clear how to use projection.
I have relation 1->m on : TopologieDetail(1) -> TopologiePoint(m)
I try to get a dataset with both entity type with the relation.
Isaw the example but I'm having hard time to understand it.
I try that without success the following code. If you have a minute, are you able to tell me what's wrong in it ??? (I only get records for the TopologiePoint entity)
DataSet dataTopoPoint = new DataSet();
TopologiePointCollection topos = new TopologiePointCollection();
topos.GetMulti(new PredicateExpression(TopologiePointFields.TopologieId == topologieId), new PrefetchPath(EntityType.TopologieDetailEntity));
topos.CreateHierarchicalProjection(dataTopoPoint);