DbContextDoInConnection Method |
Name | Description | |
---|---|---|
![]() ![]() ![]() | DoInConnection(DbContextActionWithNoResult) |
Execute an action which doesn't return a value. If no current connection exists, it will establish a connection to the customer database and close it afterwards.
An existing connection will be reused. Inside the action, the connection is available as Connection.
|
![]() ![]() ![]() | DoInConnectionT(DbContextActionWithResultT) |
Execute an action and return the result. If no current connection exists, it will establish a connection to the customer database and close it afterwards.
An existing connection will be reused. Inside the action, the connection is available as Connection.
|