Hi!
I have the following situation: I have Payment object with it's PaymentItems collection containing PaymentItem objects. To be more precise, both Payment and PaymentItem objects inherit IPayment and IPaymentItem types which is mapped through <subclass> type of inheritance. I have set inverse attribute in mapping files, and I am able to save all objects.
Is it possible to save PaymentItem (by calling Save(PaymentItem) method) with referenced Payment, but not to save other PaymentItem objects in Payment's PaymentItems collection?
Any suggestion is appreciated.
|