C# Класс Sandbox.DataTableExperiment

Показать файл Открыть проект Примеры использования класса

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

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

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

Метод Описание
Test ( System.Boolean inBulk, System.Boolean doParam ) : void

Приватные методы

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

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

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

public Test ( System.Boolean inBulk, System.Boolean doParam ) : void
inBulk System.Boolean
doParam System.Boolean
Результат void

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

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

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

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

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