here's a hack that could work, but looking for a better solution.
var patients = from c in session.Query<Patient>() where
(c.AdmitDate.Year > c.DateAdded.Year ||
(c.AdmitDate.Year == c.DateAdded.Year && c.AdmitDate.Month
> c.DateAdded.Month) ||
(c.AdmitDate.Year == c.DateAdded.Year && c.AdmitDate.Month
== c.DateAdded.Month && c.AdmitDate.Day >= (c.DateAdded.Day + 1)))
select c;
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.