C# Class SqlInteraction.SQLReader

Class to read table data.
Inheritance: ISQLReader
Exibir arquivo Open project: syre/SortingIndustrialRobot

Public Methods

Method Description
SQLReader ( System.Data.SqlClient.SqlDataReader _sqlDataReader ) : System.Collections.Generic

Constructor which takes a SqlDataReader used for the functions.

close ( ) : void

Closes the reader and its connection with the database connection. Use this or you can lock other functions from using the database connection.

readRow ( ) : List

Method Details

SQLReader() public method

Constructor which takes a SqlDataReader used for the functions.
public SQLReader ( System.Data.SqlClient.SqlDataReader _sqlDataReader ) : System.Collections.Generic
_sqlDataReader System.Data.SqlClient.SqlDataReader Data reader for the functions.
return System.Collections.Generic

close() public method

Closes the reader and its connection with the database connection. Use this or you can lock other functions from using the database connection.
public close ( ) : void
return void

readRow() public method

public readRow ( ) : List
return List