title: How to specify metadata location in connection string when using an edmx file
body: <p>I have a web project with a data model defined in an edmx file.  The connection string starts like this: </p>
  
  <p>metadata=res://*/;</p>
  
  <p>This has worked fine for a while.  But somebody else working on the project created a dll that also uses the entity framework and added it to the bin folder.  Now when I try to create my connection there is an error loading the metadata.  </p>
  
  <p>Aside from totally changing the way one or both of us is doing things, I wonder if the problem can be fixed if my connection string can be changed to only look for the metadata defined in my edmx file.  The problem is, for the life of me I can't find the right syntax to do this.  The metadata is embedded in the output assembly, so there are no physical metadata files to point to.  How exactly should I specify the metadata location in the connection string?</p>