The dictionary is still not supported. You should use the traditional one-to-many relationship. Where each of your current key / value pairs in the dictionary will be stored as an entry in the table and associated with a foreign key with the main object (which contains the dictionary). The entity should look like this:
public class Item { public int Id { get; set; } // unique autogenerated database key public string Key { get; set; } public string Value { get; set; } public int PrincipalId { get; set; } // FK to principal entity }
The property types and foreign key name will be different for your current situation. The main object will have:
public virtual ICollection<Item> Items { get; set; }
source share