Firebird ADO.NET Provider SDK Documentation - v1.7

FbConnection Members

FbConnection overview

Public Static (Shared) Properties

ConnectionPoolsCount Gets the number of active connection pools.

Public Static (Shared) Methods

ClearAllPools Clears all active connection pools, closing all active connections.
ClearPool Clear the connection pool that owns the specified connection, closing all active connections.
CreateDatabaseOverloaded. Creates a new database using the given connection string information.
DropDatabaseOverloaded. Drops a existent database using the given connection string information.
GetPooledConnectionCount Gets the number of active connections in the connection pool that owns the spcified connection.

Public Instance Constructors

FbConnection Overloaded. Initializes a new instance of the FbConnection class.

Public Instance Properties

ConnectionString Gets or sets the string used to open a connection to a Firebird database.
ConnectionTimeout Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error.
Container (inherited from Component) 
Database Gets the name of the actual database or the database to be used when a connection is open.
DataSource Gets the name of the Firebird Server to which to connect.
PacketSize Gets the size (in bytes) of network packets used to communicate with an instance of Firebird Server.
ServerVersion Gets a string containing the version of the Firebird Server to which the client is connected.
Site (inherited from Component) 
State Gets the current state of the connection.

Public Instance Methods

BeginTransactionOverloaded. Begins a new transaction with the default isolation level IsolationLevel.ReadCommitted.
ChangeDatabase 
Close Closes the connection to the database. This is the preferred method of closing any open connection.
CreateCommand Creates and returns a new FbCommand object associated with the current FbConnection object.
CreateObjRef (inherited from MarshalByRefObject) 
Dispose (inherited from Component) 
Equals (inherited from Object) 
GetDbSchemaTableObsolete.  
GetHashCode (inherited from Object) 
GetLifetimeService (inherited from MarshalByRefObject) 
GetSchemaOverloaded. Returns information about the MetaDataCollections schema.
GetType (inherited from Object) 
InitializeLifetimeService (inherited from MarshalByRefObject) 
Open Opens a new connection to a database with the property settings specified by the ConnectionString.
ToString (inherited from Component) 

Public Instance Events

Disposed (inherited from Component) 
InfoMessage Occurs when the Firebird Server sends a warning message.
StateChangeOccurs when the state of the connection changes.

See Also

FbConnection Class | FirebirdSql.Data.Firebird Namespace