title: Connecting a WPF app to MySQL database
body: <p>In previous exercises I have been using a database file which is visually represented in the solution explorer and allowed me to access the tables of that file by referencing the database in the XAML as follows:</p>
  
  <pre><code>NORTHWNDEntities db = new NORTHWNDEntities();
  </code></pre>
  
  <p>In this exercise instead of dragging in a file I am connecting to a database that I have made in SQL server management studios. In the server explorer I can see that the database is connected as it has the connected Icon with the name </p>
  
  <pre><code>calry\calry.S00146154.dbo
  </code></pre>
  
  <p>My question is how do I reference this database in my XAML as done previous so that I can access the tables within it. This is what I have at the moment:
  (I would also like to note that this database is not visually represented in the Solution explorer)</p>
  
  <pre><code>s00146154dboentities db = new s00146154dboentities();
  </code></pre>