C# Class SqlInteraction.SQLReader

Class to read table data.
Inheritance: ISQLReader
Afficher le fichier Open project: syre/SortingIndustrialRobot

Méthodes publiques

Méthode 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 méthode

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

close() public méthode

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

readRow() public méthode

public readRow ( ) : List
Résultat List