Map collection of simple types to tables
<p>I have the following tables:</p>

<p>ResourceSet
+ Id int
[..]</p>

<p>ResourceTagSet
+ Id int
+ ResourceId int [FK: ResourceSet(Id)]
+ Tag</p>

<p>and I would like to use the following definition:</p>

<p>public class Resource
{
  public int Id {get; set; }</p>

<p>[..]</p>

<p>public virtual ICollection Tags { get; set; }
}</p>

<p>I'd need to map the collection of tags to the ResourceTagSet(Tag) values. I need only to read them (insertion is done using a SP).</p>

<p>Is it possible to do it with EF CodeFirst 4.1?</p>

<p>Thank you</p>
