    : base(&quot;Default&quot;)
    {

    }

    public SimpleTaskSystemDbContext(string nameOrConnectionString)
        : base(nameOrConnectionString)
    {
            
    }
}</pre>

<p>It uses <strong>Default</strong> connection string in web.config. It&#39;s defined as shown below:</p>

<pre lang="xml">
&lt;add name=&quot;Default&quot; connectionString=&quot;Server=localhost; Database=<strong>SimpleTaskSystem</strong>; Trusted_Connection=True;&quot; providerName=&quot;System.Data.SqlClient&quot; /&gt;