title: EF 5.0 & dynamic connection string?
body: <p>One thing is driving me crazy right now.</p>
  
  <p>My (Database-first) EF-Model needs a dynamic connection string (IP-Adress of Server might change once in a while).</p>
  
  <p>So in older EF-Versions you could pass a connection-string via constructor, but that is not possible in 5.0 as is seems.</p>
  
  <p>What I have read so far, you could change your datatemplate, but that will be overwritten each time you re-generate your model etc., so not the best way to do it.</p>
  
  <p>Another thing is the SQLConnectionFactory, but that does not seem to work at all 
  <code>(Database.DefaultConnectionFactory = new SqlConnectionFactory( ... )</code> seems to be ignored completely).</p>
  
  <p>What would be the right approach for that?</p>