2 types derived from DbTransaction
System.Data.Odbc (1)
System\Data\Odbc\OdbcTransaction.cs (1)
8
public sealed class OdbcTransaction :
DbTransaction
System.Data.OleDb (1)
artifacts\obj\System.Data.OleDb\Debug\net10.0\System.Data.OleDb.notsupported.cs (1)
480
public sealed partial class OleDbTransaction : System.Data.Common.
DbTransaction
29 references to DbTransaction
Microsoft.Data.Analysis (1)
DataFrame.IO.cs (1)
242
using
var
transaction = connection.BeginTransaction();
netstandard (1)
netstandard.cs (1)
472
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.Common.
DbTransaction
))]
System.Data (1)
src\libraries\shims\System.Data\ref\System.Data.cs (1)
46
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.Common.
DbTransaction
))]
System.Data.Common (18)
System\Data\Common\DbBatch.cs (2)
25
public
DbTransaction
? Transaction
31
protected abstract
DbTransaction
? DbTransaction { get; set; }
System\Data\Common\DbCommand.cs (3)
47
protected abstract
DbTransaction
? DbTransaction { get; set; }
68
public
DbTransaction
? Transaction
77
set { DbTransaction = (
DbTransaction
?)value; }
System\Data\Common\DbConnection.cs (9)
51
protected abstract
DbTransaction
BeginDbTransaction(IsolationLevel isolationLevel);
53
public
DbTransaction
BeginTransaction() =>
56
public
DbTransaction
BeginTransaction(IsolationLevel isolationLevel)
67
protected virtual ValueTask<
DbTransaction
> BeginDbTransactionAsync(IsolationLevel isolationLevel, CancellationToken cancellationToken)
71
return ValueTask.FromCanceled<
DbTransaction
>(cancellationToken);
76
return new ValueTask<
DbTransaction
>(BeginDbTransaction(isolationLevel));
80
return ValueTask.FromException<
DbTransaction
>(e);
84
public ValueTask<
DbTransaction
> BeginTransactionAsync(CancellationToken cancellationToken = default)
87
public ValueTask<
DbTransaction
> BeginTransactionAsync(IsolationLevel isolationLevel, CancellationToken cancellationToken = default)
System\Data\Common\DbDataSource.cs (2)
348
protected override
DbTransaction
? DbTransaction
577
protected override
DbTransaction
? DbTransaction
System\Data\Common\DbTransaction.cs (2)
74
/// Gets a value that indicates whether this <see cref="
DbTransaction
" /> instance supports database savepoints.
80
/// <see langword="true" /> if this <see cref="
DbTransaction
"/> instance supports database savepoints; otherwise,
System.Data.Odbc (6)
src\libraries\Common\src\System\Data\ProviderBase\DbConnectionClosed.cs (1)
19
public override
DbTransaction
BeginTransaction(IsolationLevel il) => throw ADP.ClosedConnectionError();
src\libraries\Common\src\System\Data\ProviderBase\DbConnectionInternal.cs (1)
185
public abstract
DbTransaction
BeginTransaction(IsolationLevel il);
System\Data\Odbc\OdbcCommand.cs (1)
280
protected override
DbTransaction
? DbTransaction
System\Data\Odbc\OdbcConnection.cs (2)
883
protected override
DbTransaction
BeginDbTransaction(IsolationLevel isolationLevel)
885
DbTransaction
transaction = InnerConnection.BeginTransaction(isolationLevel);
System\Data\Odbc\OdbcConnectionOpen.cs (1)
45
public override
DbTransaction
BeginTransaction(IsolationLevel isolevel)
System.Data.OleDb (2)
artifacts\obj\System.Data.OleDb\Debug\net10.0\System.Data.OleDb.notsupported.cs (2)
31
protected override System.Data.Common.
DbTransaction
? DbTransaction { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } }
109
protected override System.Data.Common.
DbTransaction
BeginDbTransaction(System.Data.IsolationLevel isolationLevel) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); }