Search notes:

System.Data.Common.DbConnection (class)

Base class for various vendor's database connection.
A class that derives from S.D.C.DbConnection is for example Oracle.DataAccess.Client.OracleConnection.
An important class in the ADO.NET framework that uses the functionality of DbConnection is System.Data.Common.DataAdapter.

Transactions

A transaction can be started by calling BeginTrasaction(). This method returns a System.Data.Common.DbTransaction object (which in turn has methods such as Commit() and Rollback().

See also

The CreateConnection() method of the System.Data.Common.DbProviderFactory class.
ADO.NET: context connections

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Microsof...', 1740463883, '3.15.38.5', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Microsoft/dot-net/namespaces-classes/System/Data/Common/DbConnection/index(50): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78