title: Conversion between types in entity framework 6
body: <p>I am getting the metadata from an edmx file so I can generate mappings for code first.</p>
  
  <p>The challenge is: there is multiple types of the same name in two different namespaces and they don't convert. Is there a way to convert them?</p>
  
  <pre><code>Cannot convert from 'System.Data.Entity.Core.Metadata.Edm.EntityContainer' 
  to 'System.Data.Metadata.Edm.EntityContainer'
  
  
  Cannot implicitly convert type 'System.Data.Entity.Core.Metadata.Edm.AssociationSet[]' 
  to 'System.Collections.Generic.IEnumerable&lt;System.Data.Metadata.Edm.AssociationSet&gt;'
  </code></pre>