C# Class Sandbox.DataTableExperiment

Afficher le fichier Open project: hydrologics/TimeSeriesLibrary Class Usage Examples

Méthodes publiques

Свойство Type Description
Connx System.Data.SqlClient.SqlConnection
TableName String

Méthodes publiques

Méthode Description
Test ( System.Boolean inBulk, System.Boolean doParam ) : void

Private Methods

Méthode Description
BuildStringForEmptyTraceDataTable ( ) : String

Method returns a string for querying the database table and returning an empty result set. The subsequent query can be used to create an empty DataTable object, with the necessary columns defined. Because the query names all required fields of the database table, the subsequent query will raise an exception if any fields are missing.

UpdateParametersChecksum ( int id, SqlCommand selectCmd, SqlCommand updateCmd ) : void

This method updates the value in the Checksum field of the parameters table. It does not modify any other fields.

WriteBulkTraces ( List traceObjects ) : void
WriteOneTrace ( ITimeSeriesTrace traceObject ) : void
WriteOneTraceParam ( int id, ITimeSeriesTrace traceObject, SqlCommand cmd ) : void

Method Details

Test() public méthode

public Test ( System.Boolean inBulk, System.Boolean doParam ) : void
inBulk System.Boolean
doParam System.Boolean
Résultat void

Property Details

Connx public_oe property

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

TableName public_oe property

public String TableName
Résultat String