I have next tables Order, Transaction, Payment. Class Order has some properties:
public virtual Guid Id { get; set; }
public virtual DateTime Created { get; set; }
...
and I have added two more:
public virtual IList<Transaction> Transactions { get; set; }
public virtual IList<Payment> Payments { get; set; }
How to keep Transactions and Payments lists (relations) in the database?
Figured out the working solution for me. In the mapping file I have added: