Entity Framework 4 POCO with Dictionary
Posted
by Eric J.
on Stack Overflow
See other posts from Stack Overflow
or by Eric J.
Published on 2010-05-31T21:42:45Z
Indexed on
2010/05/31
21:53 UTC
Read the original article
Hit count: 243
dictionary
|entity-framework-4
I have a POCO (Plain Old CLR Object)
public Foo
{
public virtual int Id { get; set; }
public virtual Dictionary<string, string> Stuff { get; set; }
public virtual string More { get; set; }
}
Using the model first approach (i.e. I don't have a data model yet), how would I handle persisting Stuff (Dictionary)?
© Stack Overflow or respective owner