C# Class Sandbox.DataTableExperiment

Mostra file Open project: hydrologics/TimeSeriesLibrary Class Usage Examples

Public Properties

Property Type Description
Connx System.Data.SqlClient.SqlConnection
TableName String

Public Methods

Method Description
Test ( System.Boolean inBulk, System.Boolean doParam ) : void

Private Methods

Method 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 method

public Test ( System.Boolean inBulk, System.Boolean doParam ) : void
inBulk System.Boolean
doParam System.Boolean
return void

Property Details

Connx public_oe property

public SqlConnection,System.Data.SqlClient Connx
return System.Data.SqlClient.SqlConnection

TableName public_oe property

public String TableName
return String