Group/Sort by Date Year/Month, Partial Select with NHibernate (Projection? Transformation?)
问题 I'm building an ArchivesController for the open source asp.net MVC-3 blog platform FunnelWeb. We have an model called "Entry" which represents a blog entry which has a DateTime property called "Published" for when this entry was published. The purpose of the proposed ArchivesController is to create a wordpress-like archives link table that shows a descending list of all years and months for which we have posts with links to an archive index like '/archive/2011/9' and a count for the number of