title: Compiler Error Message: CS1061: does not contain a definition (Missing Reference)
body: <p><code>object</code> does not contain a definition for <code>Database</code> and no extension method <code>Database</code> accepting a first argument of type <code>object</code> could be found (are you missing a using directive or an assembly reference?)</p>
  
  <p><a href="https://i.stack.imgur.com/WsdFy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WsdFy.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/CZqgM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CZqgM.png" alt="enter image description here"></a>
      UserStore userStore = new UserStore();</p>
  
  <pre><code>    userStore.Context.Database.Connection = System.Configuration.ConfigurationManager.
          ConnectionStrings["CartDBConnectionString"].ConnectionString;
  
      UserManager&lt;IdentityUser&gt; manager = new UserManager&lt;IdentityUser&gt;(userStore);
  </code></pre>