<PackageReference Include="System.Data.SqlClient" Version="4.8.3" />

System.Data.SqlClient.SqlTransaction

public sealed class SqlTransaction : DbTransaction
Represents a Transact-SQL transaction to be made in a SQL Server database. This class cannot be inherited.
namespace System.Data.SqlClient { public sealed class SqlTransaction : DbTransaction { public new SqlConnection Connection { get; } public new void Rollback(string transactionName); public new void Save(string savePointName); } }