DbContext Properties |
The DbContext type exposes the following members.
| Name | Description | |
|---|---|---|
| Connection |
Gets the current connection. Throws an exception if no connection is active.
| |
| CurrentTransaction |
Gets the current transaction, or null if no transaction exists.
| |
| RequiredTransaction |
Gets the current transaction, throwing an exception is no transaction exists.
|