Transaction
Assembly: uMod.Core.dll
Inheritance Object Transaction
Implements IContext, INameable
Summary
Represents a database transaction
Constructors
Name | Summary |
|---|---|
Transaction ( | Create a new transaction object |
Properties
Name | Summary |
|---|---|
Connection | Gets the connection of the transaction |
Count | Gets the number of queries in the transaction |
Name | Gets the transaction name |
Methods
Name | Summary |
|---|---|
Clear () | Removes all queries in the transaction |
Commit () | Commit transaction |
Create a new non-query with no return rows | |
Create a new non-query with no return rows (but strongly-typed result) | |
Create a new non-query that returns a scalar value | |
Creates a new query | |
Create a new query that returns multiple strongly-typed results | |
Query< | |
Create a new query that returns first result | |
Create a new query that returns first strongly-typed result | |
Create a new query that returns a single result | |
Create a new query that returns a single strongly-typed result |