title: How do you resolve ambiguity between types in Linq?
body: <p>I have two entity sets with entities of the same name with properties of the same name.  Hence:</p>
  
  <pre><code> FormsEntities formEntities2011 = new FormsEntities2011();
   FormsEntities formEntities2010 = new FormsEntities2010();
  </code></pre>
  
  <p>And I have queries for each:           </p>
  
  <pre><code> // -- Get a list of Clients from the 2010 Database for this agent
   var clients2010Query = from c in formsEntities2010.Clients
                          join ac in formsEntities2010.Agent_Client on c.Client_ID equals ac.Client_ID
                          where ac.Agent_ID == a.Agent_ID
                          orderby c.Client_ID
                          select c;
  </code></pre>
  
  <p>But I get an error on the join statement regarding ambiguity between <code>Clients</code>.  I believe this is because the <code>formEntities2011</code> and the <code>formEntities2010</code> both have a <code>Client</code> entity. </p>
  
  <p>Normally I would just add the namespace to resolve the ambiguity, but I don't know how to do that in a Linq statement? </p>
  
  <p>The error is "The member is defined more than once"  on c.Client_ID and ac.Client_ID</p>