TransactionCommitting class
Fired when a transaction is about to commit.
This event fires before the actual commit occurs. If you need to perform validation or logging before commit, use this event.
- Inheritance
-
- Object
- Event
- ConnectionEvent
- TransactionCommitting
Constructors
- TransactionCommitting(OrmConnection connection, {DateTime? timestamp})
Properties
- connection → OrmConnection
-
The connection where this event occurred.
finalinherited
- connectionName → String
-
The name of the connection (convenience accessor).
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime
-
When the event occurred.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited