It seems that i need to explain and simplify my question a little bit.
I'm sorry if i have confused anyone.
My Problem is as follows:

I have these 3 tables

Animal             //this is the object i want to retrieve. It has a
bag of MedicalStatus-Objects attached to it.
MedicalStatus  //this is the status of the animal that has a LogEntry-
reference
LogEntry          //this is the LogEntry informing about the DateTime
a status-change occured.

So this is the database structure tracking the medical status of this
animal.

Now i want to apply a filter either to the MedicalStatus-bag of the
animal or the animal itself to get only the actual medical status or
the status at a given time.
Has anybody did something like use using filters or any other generic
approach? I need this cause my database also uses this concept for a
lot of objects. I never have to retrieve all the medicalStatus-
objects. but what i need to do is fetch a medical status for a given
time.

Any clue anyone?
--~--~---------~--~----~------------~-------~--~----~
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