In my legacy database, I've got a table [Templates] with four columns for the "special instructions" on a shipment:
.....|Spx_1|Spx_2|Spx_3|Spx_4|....
.....| | | | |.....
I want to map this to a List in my class:
public class Template
{
..
public virtual List<string> SpecialInstructions
{
get;
set;
}
...
}
How do I do this with (xml) nhibernate?