Hii
I have some problem with prefetch.
I know that this code is wrong, but dont know how to add the subpath, so if someone could help me that would be great.
PrefetchPath prefetch = new PrefetchPath((int) EntityType.MicroCompanyEntity );
prefetch.Add(MicroCompanyEntity.PrefetchPathMicroSite);
prefetch.Add(MicroCompanyEntity.PrefetchPathMicroSite).SubPath.Add( MicroSiteEntity.PrefetchPathMicroStyleSheet );
prefetch.Add(MicroCompanyEntity.PrefetchPathMicroSite).SubPath.Add( MicroSiteEntity.PrefetchPathMicroStyleSheetColor );
Short table description:
MicroCompany:
companyGuid <- autogenerated primary key
name
MicroSite
companyGuid <- primary key
styleSheetColorID
styleSheetID
MicroStyleSheetColor
styleSheetColorID <- primary key
color
MicroStyleSheet
styleSheetID <- primary key
name
Hope someone would be able to understand this