title: How to add the "Provider Name" in Connection String to the Context file?
body: <p><strong>I am Using Entity Framework 5 Code-first approch. Here is my Context file :</strong></p>
  
  <pre><code>using IMS.Domain.Inventory;
  using IMS.Domain.Security;
  using IMS.Domain.StoredProcedures;
  using System;
  using System.Collections.Generic;
  using System.Data.Entity;
  using System.Data.Entity.Infrastructure;
  using System.Data.Objects;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  
  namespace IMS.Domain.DBContext
  {
      public class IMSDBContext : DbContext
      {
          public DbSet&lt;ModuleAccounting&gt; ModuleAccountings { get; set; }
          public DbSet&lt;ModuleInfo&gt; ModuleInfos { get; set; }
          public DbSet&lt;ModuleType&gt; ModuleTypes { get; set; }
          public DbSet&lt;UserAccounting&gt; UserAccountings { get; set; }
          public DbSet&lt;UserGroup&gt; UserGroups { get; set; }
          public DbSet&lt;UserInfo&gt; UserInfos { get; set; }
  
  
      //
      // set a connection string
  
      public IMSDBContext()  // Constructor of the Context
      {
          this.Database.Connection.ConnectionString =
              "Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=IMSDB;Data Source=.\\SQLExpress";
      }
  }
  </code></pre>
  
  <p>}</p>
  
  <p><strong>Here I've added the connection string in the constructor. But is there any way to add the "Provider Name" to the connection string?</strong></p>