Is there way in next piece of code to only get the first record?
Dal.TreeHtmlExportsCollection treeHtmlExportsCollection = new Dal.TreeHtmlExportsCollection().Where(Dal.TreeHtmlExports.Columns.TreeId, treeId). OrderByDesc(Dal.TreeHtmlExports.Columns.DateCreated).Load();
You can do this using the Query tool like so: (requires SubSonic 2.1)
Hope that helps!