using GB5Shared.DTO.Framework.Login; using System.Threading; using System.Threading.Tasks; namespace FrameworkDAL.CustomCode.DBLevelSetting { public interface IDBLevelSettingDAL { Task GetDBLevelSetting(LoginDTO LoginDTO); /// Writes BUILDVERSION directly on a tenant's own database, opened via a raw /// connection string (not IQueryExecutor/LoginDTO — the target is not the caller's own /// session database). Returns rows affected; caller should treat != 1 as worth logging, /// not throwing, since MDBLevelSetting having zero or duplicate rows is a data problem /// upstream of this write, not this write's own failure. Task UpdateBuildVersionOnConnection( string connectionString, byte databaseType, string buildVersion, CancellationToken ct); } }