Path: redb/redb.Tests.Integration/Tests/MsSql/MsSqlAmbientTransactionTests.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/MsSqlAmbientTransactionTests.cs ---- using redb.Core.Data; using redb.MSSql.Data; using redb.Tests.Integration.Fixtures; using redb.Tests.Integration.Tests.Base; namespace redb.Tests.Integration.Tests.MsSql; [Collection("MsSql")] public class MsSqlAmbientTransactionTests : AmbientTransactionTestsBase { public MsSqlAmbientTransactionTests(MsSqlFixture fixture) : base(fixture.ServiceProvider) { } protected override string CreateProbeTableSql => "IF OBJECT_ID(N'dbo.ambient_tx_rows', N'U') IS NULL CREATE TABLE dbo.ambient_tx_rows (tag nvarchar(100) NOT NULL);"; protected override string SlowStatementSql => "WAITFOR DELAY '00:00:02'; SELECT 1"; protected override IRedbConnection CreateStandaloneConnection(IServiceProvider services, bool differentSessionSettings) => new SqlRedbConnection(ConnString("MSSql"), lazyReferences: differentSessionSettings); }