C# Class TimeSeriesLibrary.TSConnection

This class contains a collection of database connection objects that can be used by the time series library. It contains methods for maintaining the collection of database connection objects.
Afficher le fichier Open project: hydrologics/TimeSeriesLibrary Class Usage Examples

Méthodes publiques

Свойство Type Description
PreparedSqlCommands List

Méthodes publiques

Méthode Description
CloseConnection ( int key ) : void

Method closes the connection corresponding the the given key (i.e., connection number). The closed connection is then removed from TSConnectionsCollection.

OpenConnection ( String connxString ) : int

Method opens a new connection according to the given connection string. The connection is added to the TSConnectionsCollection and its key number is returned.

Method Details

CloseConnection() public méthode

Method closes the connection corresponding the the given key (i.e., connection number). The closed connection is then removed from TSConnectionsCollection.
public CloseConnection ( int key ) : void
key int
Résultat void

OpenConnection() public méthode

Method opens a new connection according to the given connection string. The connection is added to the TSConnectionsCollection and its key number is returned.
public OpenConnection ( String connxString ) : int
connxString String
Résultat int

Property Details

PreparedSqlCommands public_oe property

Collection of wrapper objects for SqlCommand objects that have been cached using the SqlCommand.Prepare method.
public List PreparedSqlCommands
Résultat List