Skip to main content

Definition

Assembly: CloudNimble.BlazorEssentials.TursoDb.dll Namespace: CloudNimble.BlazorEssentials.TursoDb Inheritance: System.Object

Syntax

Summary

Represents a database transaction that can be committed or rolled back. Implements IAsyncDisposable for automatic rollback if not committed.

Examples

Constructors

.ctor Inherited

Inherited from object

Syntax

Properties

Database

Gets the database this transaction belongs to.

Syntax

Property Value

Type: CloudNimble.BlazorEssentials.TursoDb.TursoDatabase

IsCompleted

Gets whether the transaction has been completed (committed or rolled back).

Syntax

Property Value

Type: bool

Methods

CommitAsync

Commits the transaction, making all changes permanent.

Syntax

Returns

Type: System.Threading.Tasks.Task

Exceptions

DisposeAsync

Syntax

Returns

Type: System.Threading.Tasks.ValueTask

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

RollbackAsync

Rolls back the transaction, discarding all changes.

Syntax

Returns

Type: System.Threading.Tasks.Task

Exceptions

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?
  • System.IAsyncDisposable