Sorry about the questions (there will be many) but I'm new here.

I have a class Order and a class Shipment where a shipment is created
from an order when a user marks the order as completed.  Although this
is likely to change, the Order and Shipment classes are not currently
part of the same inheritance hierarchy.

Although the concepts of a fulfilled and unfulfilled order are quite
separate the legacy database that I am working with stores information
on both in the same table called SHIPMENTS.  The difference is that
for orders the SHIPMENTS.STATUS column is 'O' and for shipments the
SHIPMENTS.STATUS column is 'C'.  In other words, if we are talking
about an order there always needs to be a WHERE status = 'O' clause
and if you're talking about a shipment then you will always need need
WHERE status = 'C'.

How do I specify this in my OrderMap mapping?

Thanks a lot,
George Mauer
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" 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/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to