title: Using .sqlite3 file to create a database on Windows Phone 8
body: <p>I've been trying out SQLite on windows phone using this tutorial as base
  <a href="http://code.msdn.microsoft.com/wpapps/Using-Sqlite-with-WP8-52c3c671" rel="nofollow">http://code.msdn.microsoft.com/wpapps/Using-Sqlite-with-WP8-52c3c671</a>
  and in it, the Database is created in the App.xaml with this</p>
  
  <pre><code>string dbPath = Path.Combine(
      Windows.Storage.ApplicationData.Current.LocalFolder.Path,
      "db.sqlite"); 
  if (!FileExists("db.sqlite").Result) 
  { 
      using (var db = new SQLiteConnection(dbPath)) 
      { 
          db.CreateTable&lt;Person&gt;(); 
      } 
  }
  
  private async Task&lt;bool&gt; FileExists(string fileName) 
  { 
      var result = false; 
      try 
      { 
          var store = await Windows
              .Storage.ApplicationData.Current.LocalFolder
              .GetFileAsync(fileName); 
          result =true; 
      } 
      catch { }
      return result; 
  }
  </code></pre>
  
  <p>I have a database.sqlite3 file with a database I created, and added to my project on the Assets folder.
  How i can use that file to create the database on my windows phone app ?</p>