C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
PreparedSqlCommands List

Открытые методы

Метод Описание
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.

Описание методов

CloseConnection() публичный Метод

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
Результат void

OpenConnection() публичный Метод

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
Результат int

Описание свойств

PreparedSqlCommands публичное свойство

Collection of wrapper objects for SqlCommand objects that have been cached using the SqlCommand.Prepare method.
public List PreparedSqlCommands
Результат List