Appearance
DbSession Class
Definition
Class representing a Connection to a database
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
Properties
| Name | Description |
|---|---|
CommandHistory | Command Execution history for this Connnection |
CommandHistoryMaxSize | Maximum number of commands tracked in CommandHistory |
CommandHistoryTracking | Is command history tracking enabled on this connection? |
ConnectionString | Connection string used to establish the connection. Visibility is managed by Configuration.ExposeConnectionStrings |
ConnectionStringHash | SHA256 hash of the connection string |
DatabaseType | String representing the type of database |
Diagnostics | Diagnostic level for the current Connection |
GracefulReaderShutdown | Determines whether the connection should force-close open readers on close. |
InTransaction | Returns when the connection is in an existing TRANSACTION, otherwise |
IsOpen | Indicates if the connection is currently open. |
LastParameters | Read only array of the parameters used in the Last SQL statement |
LastSQL | The most recent SQL statement executed on the connection |
MaxParameters | Maximum number of parameters in a single statement supported by the current database |
SqlGenerator | A SqlGenerator for the currently connected database |
State | Current state of the underlying connection to the database |
TransactionCount | Gets the count of over-the-wire transactions executed for the Session's connection object |
Uuid | Unique identifier for the database connection |