Minggu, 28 November 2010
NHibernate and Mapping Aggregates
A few days ago a friend emailed me the following question regarding NHibernate mappings for a solution he’s currently developing:“I have an idea entity that has a collection of comment entities and I need to get the comment count for each idea. I made a massive mistake at the beginning by calling idea.Comments.Count (even worse, I did it in the view!), which due to the collection being
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar