Path: redb/redb.Tests.Integration/Tests/MsSql/MsSqlDbInfoTests.cs Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Tests.Integration/Tests/MsSql/MsSqlDbInfoTests.cs ---- using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using redb.Core.Extensions; using redb.MSSql.Extensions; using redb.Tests.Integration.Tests.Base; namespace redb.Tests.Integration.Tests.MsSql; public class MsSqlDbInfoTests : DbInfoTestsBase { protected override void UseProvider(RedbOptionsBuilder options) { var cs = new ConfigurationBuilder().AddJsonFile("appsettings.json").Build().GetConnectionString("MSSql")!; options.UseMsSql(cs); } protected override string VersionMarker => "Microsoft SQL Server"; // sys.database_files.size is in 8 KB pages. protected override string SizeInBytesSql => "SELECT SUM(CAST(size AS BIGINT)) * 8192 FROM sys.database_files"; }