I have a .Net Core 2.2 project where the back-end needs to open a DbContext to a Sqlite database.
I need something like:
optionsBuilder.UseSqlite(@"Data Source=Data\Database.db");
However the database is in \Data\ which is relative to the root of the project.
Should this not work or do I have to add additional code to determine a relative path here?