Is there a way to map a collection/dictionary of primitive types in Entity Framework. I would like to have:
public class Abc
{
public virtual long Id {get;set;}
public virtual ... some properties
public virtual IList<float> Numbers;
// or even:
public virtual IDictionary<DateTime,decimal> MoreNumbers;
}
The list could be mapped to a table with three columns: AbcId, index, float. The dictionary can be mapped to a table with AbcId, datetime, numeric(10,3).
Thanks
Val