Compiler Error Message: CS0103: The name 'Database' does not exist in the current context
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4953330/razor-based-view-doesnt-see-referenced-assemblies">Razor-based view doesn&#39;t see referenced assemblies</a>  </p>
</blockquote>



<p>I am a Newbie in ASP.net
I am trying to connect to a database and I keep getting this error</p>

<blockquote>
  <p>**Compilation Error</p>
  
  <p>Description: An error occurred during the compilation of a resource
  required to service this request. Please review the following specific
  error details and modify your source code appropriately. </p>
  
  <p>Compiler Error Message: CS0103: The name 'Database' does not exist in
  the current context</p>
  
  <p>Source Error:</p>
  
  <p>Line 1:  @{
  Line 2:  var db = Database.Open("demo");  '
  Line 3:<br>
  Line 4:  </p>
  
  <p>Source File: c:\Users\Ayoya\Documents\My Web Sites\demo\Page.cshtml<br>
  Line: 2 
  **</p>
</blockquote>

<p>Can anyone tell me whats wrong?
Thank you</p>
