Click here to Skip to main content
15,890,282 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have a below property in my model.
C#
public IDictionary<Feature, List<Permission>> Privileges { get; private set; } 

I have googled but didn't find any solution to map Dictionary using fluent api.

Does EF supports IDictionary mapping?
Posted
Comments
Sudhir Dutt Rawat 8-Jan-15 10:00am    
Did u referred

http://stackoverflow.com/questions/2946089/entity-framework-4-poco-with-dictionary

https://social.msdn.microsoft.com/Forums/en-US/a51ba903-2b8b-448e-8677-d140a0b43e89/mapping-a-dictionarystring-string?forum=adonetefx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900