nettier deepload
TList<SkCategory> r = Laptop.Comm.Provider.CategoryProvider.GetPrimaryCategory();
SkCategory sk1=r[0];
DataRepository.SkCategoryProvider.DeepLoad(r, true, DeepLoadType.IncludeChildren,typeof(SkCategory), typeof(TList<SkCategory>));
for (int i = 0; i < sk1.SkCategoryCollection.Count; i++)
{
Response.Write(sk1.SkCategoryCollection[i].CatName + "<br />");
Response.Write(sk1.SkCategoryCollection[i].SkCategoryCollection[0].CatName + "<br />");
}
SkCategory sk1=r[0];
DataRepository.SkCategoryProvider.DeepLoad(r, true, DeepLoadType.IncludeChildren,typeof(SkCategory), typeof(TList<SkCategory>));
for (int i = 0; i < sk1.SkCategoryCollection.Count; i++)
{
Response.Write(sk1.SkCategoryCollection[i].CatName + "<br />");
Response.Write(sk1.SkCategoryCollection[i].SkCategoryCollection[0].CatName + "<br />");
}