C# Класс TimeSeriesLibrary.TSSqlCommandContainer

An object of this class wraps a SqlCommand object, together with fields that allow the command to be looked up by the code that needs to reuse the command. The purpose of this container is to ensure that commands are efficiently cached and reused by the database system.
Показать файл Открыть проект

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

Свойство Тип Описание
ConnectionId int
KeyString String
SqlCommand System.Data.SqlClient.SqlCommand
SqlConnection System.Data.SqlClient.SqlConnection
TableName String

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

Метод Описание
TSSqlCommandContainer ( int connectionId, SqlConnection sqlConnection, String tableName, String keyString, SqlCommand sqlCommand ) : System

Constructor. The constructor will call the Prepare method on the SqlCommand object, so the caller does not need to call this method.

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

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

Constructor. The constructor will call the Prepare method on the SqlCommand object, so the caller does not need to call this method.
public TSSqlCommandContainer ( int connectionId, SqlConnection sqlConnection, String tableName, String keyString, SqlCommand sqlCommand ) : System
connectionId int
sqlConnection System.Data.SqlClient.SqlConnection
tableName String
keyString String
sqlCommand System.Data.SqlClient.SqlCommand
Результат System

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

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

public int ConnectionId
Результат int

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

public String KeyString
Результат String

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

public SqlCommand,System.Data.SqlClient SqlCommand
Результат System.Data.SqlClient.SqlCommand

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

public SqlConnection,System.Data.SqlClient SqlConnection
Результат System.Data.SqlClient.SqlConnection

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

public String TableName
Результат String