C# Class 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.
Afficher le fichier Open project: hydrologics/TimeSeriesLibrary

Méthodes publiques

Свойство Type Description
ConnectionId int
KeyString String
SqlCommand System.Data.SqlClient.SqlCommand
SqlConnection System.Data.SqlClient.SqlConnection
TableName String

Méthodes publiques

Méthode Description
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.

Method Details

TSSqlCommandContainer() public méthode

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
Résultat System

Property Details

ConnectionId public_oe property

public int ConnectionId
Résultat int

KeyString public_oe property

public String KeyString
Résultat String

SqlCommand public_oe property

public SqlCommand,System.Data.SqlClient SqlCommand
Résultat System.Data.SqlClient.SqlCommand

SqlConnection public_oe property

public SqlConnection,System.Data.SqlClient SqlConnection
Résultat System.Data.SqlClient.SqlConnection

TableName public_oe property

public String TableName
Résultat String