title: Store Entity Framework Core SQLite file in project-relative subdirectory
body: <p>I have an ASP.NET Core 2.0 app using Entity Framework Core and the SQLite Provider. I am trying to store the SQLite database file in a subdirectory (specifically <code>data\database\sqlite.db</code>) however if I set the Connection String to <code>Data Source=data\database\sqlite.db</code> I get the following exception as soon as I run <code>dbContext.Database.Migrate()</code>:</p>
  
  <p><code>
  Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 14: 'unable to open database file'.
  </code></p>
  
  <p>If I set it to <code>Data Source=sqlite.db</code> it works as expected without throwing exceptions (but not in the directory I need it to be stored in). What do I need to do to store the SQLite database file in a sub-directory relative to the current working directory?</p>
  
  <p>For the sake of context: I need the SQLite database file stored in a sub-directory because this app is running in a Docker Container, this specific directory is mapped to a Docker volume so the database persists when the container is replaced.</p>