namespace ZB.MOM.WW.LocalDb;

/// <summary>Host configuration for the embedded SQLite local database.</summary>
public sealed class LocalDbOptions
{
    /// <summary>Filesystem path to the SQLite database file.</summary>
    public string Path { get; set; } = "";

    /// <summary>SQLite <c>busy_timeout</c> pragma, in milliseconds.</summary>
    public int BusyTimeoutMs { get; set; } = 5000;

    /// <summary>SQLite <c>synchronous</c> pragma level (e.g. OFF / NORMAL / FULL).</summary>
    public string Synchronous { get; set; } = "NORMAL";
}
