I have one table which is, for example, User
.
Now, In my table Books
, I need to map two user fields
public User Wants {get; set;}
public User Read {get; set;}
How to map this? (Older version of fluentnhibernate and automapping doesn't work in this case) Generally, answer needs to work with automapping, because all entities in application are using automapping.