NHibernate: How do I do this in the HBM mapping?
- by SharePoint Newbie
Hi,
I have an entity FinancialWeek which maps to continuous periods defined in a database table.
For example:
Week 1, From: 1/01/2010, To: 7/01/2010
Week 2, From: 8/01/2010, To: 14/01/2010
I need to define a lazy property for Next and Previous weeks in my entity. How do I do this in the HBM mapping?
Thanks