I'm using DBContext on Entity Framework, using a process like in this tutorial to create the DB.
public class BloggingContext : DbContext
{
public DbSet<Blog> Blogs { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
optionsBuilder.UseSqlite("Filename=blog.db");
}
}
and saving using something like:
using (var context = new BloggingContext())
{
context.Add(blog);
await context.SaveChangesAsync();
}
How would I go about setting the Journal Mode to something like WAL?