Click or drag to resize

DbContext Properties

The DbContext type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberConnection
Gets the current connection. Throws an exception if no connection is active.
Public propertyStatic memberCurrentTransaction
Gets the current transaction, or null if no transaction exists.
Public propertyStatic memberRequiredTransaction
Gets the current transaction, throwing an exception is no transaction exists.
Top
See Also