Open Method

Opens a connection to a database, using the previously-specified connection string.

Syntax

void Open( )

Implements

IDbConnection.Open

Usage

  • The AseConnection draws an open connection from the connection pool if one is available. Otherwise, it establishes a new connection to the data source.

  • If the AseConnection goes out of scope, it is not closed. Therefore, you must explicitly close the connection by calling Close or Dispose.