I know this one will be impossible for you to troubleshoot with out seeing the code but maybe if you can point me in the right direction so I know where to put the break points in the generated code. The following code sometimes returns null for the prefetch path siteid_. It seems specific to certain records in the database. I ran the sql profiler and confirmed all of the sql statements issued by llblgen were returning data. Do you know where I should start debugging?
CircuitsEntity _entity = new CircuitsEntity(id);
PrefetchPath2 _prefetch = new PrefetchPath2((int)EntityType.CircuitsEntity);
_prefetch.Add(CircuitsEntity.PrefetchPathSiteid_);
_prefetch[0].SubPath.Add(SiteidEntity.PrefetchPathCity);
_prefetch[0].SubPath[0].SubPath.Add(CityEntity.PrefetchPathCntry);
_prefetch[0].SubPath[0].SubPath[0].SubPath.Add(CntryEntity.PrefetchPathRegion);
_prefetch.Add(CircuitsEntity.PrefetchPathBu_);
_prefetch.Add(CircuitsEntity.PrefetchPathCarrier_).SubPath.Add(CarrierEntity.PrefetchPathCarrierCont);
_prefetch.Add(CircuitsEntity.PrefetchPathServiceType_);
_prefetch.Add(CircuitsEntity.PrefetchPathSupportlvl_);
Thanks,
Brandt