title: how to use asp.net dynamic data with Entity framework in another dll
body: <p>how can i use asp.net dynamic data using EF in another dll and i dont want to put connection string in web.config or any config file. 
  I have this code in Global.asax</p>
  
  <p>model.RegisterContext(() => new MyObjectContext("entityconnectionString"), new ContextConfiguration() { ScaffoldAllTables = true });</p>
  
  <p>the defalut page is ok but when i click on any table to see the details, I get this error:
  The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid.
  How can i solve this problem?</p>