I have a class like:
public class User { public CultureInfo Culture {get;set;} }
I have a display class as follows:
public class UserMap : ClassMap<User> { public UserMap() { ?? } }
I would like to store this information about user culture in and out of the database as a culture string (for example, "en-US"). I am new when it comes to NHibernate and Fluent NHibernate. How to tell the cartographer to use the culture string when saving and create a cultural object when retrieving?
source share