After reading more this morning, I think I must create my mapping file
without the date thing in mind. And then I use CreateCriteria()
programmatically to restrict the lines fetched. I'll check this out. If
anyone has another idea, please let me know.

Thank you!

On Mon, Aug 10, 2009 at 11:33 PM, Alex <[email protected]> wrote:

> Hi,
>
> If i have a model consisting of an Employee class with properties (Id,
> Name, Business) and a Business class with properties (Id, Name). Let's
> say I have a link table between the two that has an EmployeeId, a
> BusinessId, a start date and an end date. If I want to fetch the
> employees for a busines at a given date, how do I process to pass the
> dynamic query?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to