NHibernate: How do I do this in the HBM mapping?
Posted
by SharePoint Newbie
on Stack Overflow
See other posts from Stack Overflow
or by SharePoint Newbie
Published on 2010-05-09T13:50:01Z
Indexed on
2010/05/09
14:38 UTC
Read the original article
Hit count: 194
nhibernate
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
© Stack Overflow or respective owner