title: passing connection string to DBcontext without using app.config
body: <p>i am new to using Code First approach. Please excuse me if i am missing something very basic.</p>
  <p>I need to pass connection string to DBcontext but i can't that connection string to app.config since i am calling a nugget in the class itself which gives me the connection string.</p>
  <pre><code>Class A : Dbcontext , IA
  {
      class A() : base () 
      {
          //call to nugget for giving a connection string
          var connString=nugget.connString();
          this.Database.Connection.ConnectionString = connString;
      }
  
  }`
  </code></pre>
  <p>is this approch correct ? i cannot test this on my local system.
  or should i pass the connString to base</p>
  <p>class A() : base (connString)</p>