Here is a small code example for retrieving page folder data for a given folder type. Change the type of Martin.MyPageFolder to your type and it should work fine.
using (DataConnection connection = new DataConnection()) { var pageFolderData = from d in connection.Get<Martin.MyPageFolder>() where d.PageId == SitemapNavigator.CurrentPageId select d; foreach (var item in pageFolderData) {
source share