Provides access to a specific database.

Methods

Name

Description

CommittableTransaction GetCommitableTransaction()

Returns a new transaction that needs to be managed explicitly using a commit or roll back.

RequestTransaction GetRequestTransaction()

Returns the transaction that starts at the beginning of the web request and is committed when the response is sent to the client. This transaction cannot be committed or rolled back inside extensions.

Members

Name

Description

SqlHelper SqlHelper

Returns an SqlHelper instance targeted at the manipulation of SQL statements members.

int CommandTimeout

Gets or sets the command execution timeout.

Methods

Name

Description

CommittableTransaction getCommitableTransaction()

Returns a new transaction that needs to be managed explicitly using a commit or roll back.

RequestTransaction getRequestTransaction()

Returns the transaction that starts at the beginning of the web request and is committed when the response is sent to the client. This transaction cannot be committed or rolled back inside extensions.

SqlHelper getSqlHelper()

Returns an sqlHelper instance targeted at the manipulation of SQL statements members

See Also

Overview of RuntimePublic.Db API | About APIs