I may be doing this completely wrong, but maybe someone can guide me to a better solution. I am using llblgen with an access database for fantasy (american) football drafting software. Well I fill a league entity with all of the information needed to make some calculations.
PrefetchPath path = new PrefetchPath((int)EntityType.LeagueEntity);
path.Add(LeagueEntity.PrefetchPathPlayerPoints).SubPath.Add( PlayerPointsEntity.PrefetchPathPlayer).SubPath.Add(PlayerEntity.PrefetchPathPlayerStats);
path.Add(LeagueEntity.PrefetchPathScoring).SubPath.Add(ScoringEntity.PrefetchPathScoringType);
LeagueEntity league = new LeagueEntity(Globals.gCurrentLeagueID, path);
I go through make the calculations and these results in new values for the players that are saved in the playerpoints entities.
I then do a recursive save for league.
league.save(true);
and after a long time all of the values are updated. Is there anything I can do to speed along the update for access or have I made a mistake in my database design possibly for making this efficient.