title: Entity Framework 4 Code Only Error "Multiple objects sets per type are not supported"
body: <p>I have two "Code Only" POCO's using EF4 and the latest CTP, running against an existing, legacy database. Running a LINQ query against PocoA worked until I added the property below to that object, I was trying to add a relationship.</p>
  
  <pre><code>public virtual PocoB pocoB { get; set; }
  </code></pre>
  
  <p>Once I did that, I started getting the following error:</p>
  
  <p><code>Multiple object sets per type are not supported. The object sets 'PocoA_DbSet' and 'PocoB_DbSet' can both contain instances of type 'PocoA'.</code></p>
  
  <p>So I next thought my problem was because I had not defined the relationship, and this legacy database was using a 'fk/pk' prefix instead of an 'Id' suffix on the primary and foreign keys.  So I added the following data annotation to the virtual method specified above, with no change in behavior:</p>
  
  <pre><code>[RelatedTo(Property="PocoB", ForeignKey="fkPocoB")]
  </code></pre>
  
  <p>I'm really at a loss for what needs to be changed to make this work.</p>