You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public static IQueryable<GlobalTaskExtendedDTO> GetGlobalTasksExtended(BLToolKitSessionWrapper<MFCV2DL> s)
{
var qry = s.Query<GlobalTaskDTO>();
var qry2 = from g in qry
join rp1 in s.GetTable<ResourcePointDTO>() on g.RPSourceId equals rp1.Id
join rp2 in s.GetTable<ResourcePointDTO>() on g.RPDestinationId equals rp2.Id
join res in s.GetTable<ResourceDTO>() on g.ResourceId equals res.Id
select new GlobalTaskExtendedDTO(g) {RPSource = rp1.Name, RPDestination = rp2.Name, Labels = res.Labels};
return qry2;
}
where GlobalTaskDTO, ResourcePointDTO, ResourceDTO are Objects BLToolkit knows.
But GlobalTaskExtendedDTO is unkown to BLToolkit!
now the Problem ist, at query.cs in line 1108, bltoolkit trys to map the value res.Labels via the mapper of GlobalTaskExtendedDTO (wich it does not have)! It should use the mapper of ResourceDTO.
Any Idea whats going wrong here?
The text was updated successfully, but these errors were encountered:
I've the following code:
where GlobalTaskDTO, ResourcePointDTO, ResourceDTO are Objects BLToolkit knows.
But GlobalTaskExtendedDTO is unkown to BLToolkit!
now the Problem ist, at query.cs in line 1108, bltoolkit trys to map the value res.Labels via the mapper of GlobalTaskExtendedDTO (wich it does not have)! It should use the mapper of ResourceDTO.
Any Idea whats going wrong here?
The text was updated successfully, but these errors were encountered: