DbTransaction.Dispose DbTransaction.Dispose DbTransaction.Dispose DbTransaction.Dispose Method

Definición

Libera los recursos no administrados que usa DbTransaction y, de forma opcional, libera los recursos administrados.Releases the unmanaged resources used by the DbTransaction and optionally releases the managed resources.

Sobrecargas

Dispose() Dispose() Dispose() Dispose()

Libera los recursos no administrados que usa DbTransaction.Releases the unmanaged resources used by the DbTransaction.

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Libera los recursos no administrados que usa DbTransaction y, de forma opcional, libera los recursos administrados.Releases the unmanaged resources used by the DbTransaction and optionally releases the managed resources.

Comentarios

Disposedebe revertir la transacción.Dispose should rollback the transaction. Sin embargo, el comportamiento Dispose de es específico del proveedor y no debe reemplazar Rollbackla llamada a.However, the behavior of Dispose is provider specific, and should not replace calling Rollback.

Dispose() Dispose() Dispose() Dispose()

Libera los recursos no administrados que usa DbTransaction.Releases the unmanaged resources used by the DbTransaction.

public:
 virtual void Dispose();
public void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()

Implementaciones

Comentarios

Disposedebe revertir la transacción.Dispose should rollback the transaction. Sin embargo, el comportamiento Dispose de es específico del proveedor y no debe reemplazar Rollbackla llamada a.However, the behavior of Dispose is provider specific, and should not replace calling Rollback.

Consulte también:

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Libera los recursos no administrados que usa DbTransaction y, de forma opcional, libera los recursos administrados.Releases the unmanaged resources used by the DbTransaction and optionally releases the managed resources.

protected:
 virtual void Dispose(bool disposing);
protected virtual void Dispose (bool disposing);
abstract member Dispose : bool -> unit
override this.Dispose : bool -> unit
Protected Overridable Sub Dispose (disposing As Boolean)

Parámetros

disposing
Boolean Boolean Boolean Boolean

Si es true, este método libera todos los recursos que tenga cualquier objeto administrado al que haga referencia DbTransaction.If true, this method releases all resources held by any managed objects that this DbTransaction references.

Comentarios

Disposedebe revertir la transacción.Dispose should rollback the transaction. Sin embargo, el comportamiento Dispose de es específico del proveedor y no debe reemplazar Rollbackla llamada a.However, the behavior of Dispose is provider specific, and should not replace calling Rollback.

Consulte también:

Se aplica a