var adapter = new DataAccessAdapter();
var entity = new ChaletAccountEntity { AccountId = accountId };
var path = new PrefetchPath2(EntityType.ChaletAccountEntity);
path.Add(ChaletAccountEntity.PrefetchPathChaletInstance.SubPath.Add(ChaletInstanceEntity.PrefetchPathChalet));
path.Add(ChaletAccountEntity.PrefetchPathVwEventAccount.SubPath.Add(
VwEventAccountEntity.PrefetchPathEvent));
adapter.FetchEntity(entity, path);
ChaletInstance and VwEventAccount are both null and the generated code doesn't even look for them. How could this be?