Fluent NHibernate mapping List<Point> as value to single column
- by Paja
I have this class:
public class MyEntity
{
public virtual int Id { get; set; }
public virtual List<Point> Vectors { get; set; }
}
How can I map the Vectors in Fluent NHibernate to a single column (as value)? I was thinking of this:
public class Vectors : ISerializable
{
public List<Point> Vectors { get; set; }
/*…