You are here

public function DatabaseConnection_sqlsrv::startTransaction in Drupal driver for SQL Server and SQL Azure 7.2

Same name and namespace in other branches
  1. 7.3 sqlsrv/database.inc \DatabaseConnection_sqlsrv::startTransaction()

Overriden to allow transaction settings.

Overrides DatabaseConnection::startTransaction

File

sqlsrv/database.inc, line 736
Database interface code for Microsoft SQL Server.

Class

DatabaseConnection_sqlsrv
Summary of DatabaseConnection_sqlsrv

Code

public function startTransaction($name = '', DatabaseTransactionSettings $settings = NULL) {
  if ($settings == NULL) {
    $settings = DatabaseTransactionSettings::GetDefaults();
  }
  return new DatabaseTransaction_sqlsrv($this, $name, $settings);
}