DbContextTransactionExtensions DbContextTransactionExtensions Class

Definition

Extension methods for IDbContextTransaction.

public static class DbContextTransactionExtensions
Public Module DbContextTransactionExtensions
Inheritance
System.ObjectSystem.Object
DbContextTransactionExtensionsDbContextTransactionExtensions

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetDbTransaction(IDbContextTransaction) GetDbTransaction(IDbContextTransaction)

Gets the underlying System.Data.Common.DbTransaction for the given transaction. Throws if the database being targeted is not a relational database that uses System.Data.Common.DbTransaction.

public static DbTransaction GetDbTransaction(this IDbContextTransaction dbContextTransaction)
<ExtensionAttribute>
Public Shared Function GetDbTransaction(dbContextTransaction As IDbContextTransaction) As DbTransaction
Parameters
dbContextTransaction
IDbContextTransaction IDbContextTransaction

The transaction to get the System.Data.Common.DbTransaction from.

Returns
System.Data.Common.DbTransaction System.Data.Common.DbTransaction

The underlying System.Data.Common.DbTransaction.

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object