C# 클래스 SqlInteraction.SQLHandler

Class that handles all SQL interaction
상속: ISQLHandler
파일 보기 프로젝트 열기: syre/SortingIndustrialRobot

공개 메소드들

메소드 설명
addParameter ( SqlCommand _command, string _parameterName, object _parameterValue, SqlDbType _parameterType ) : void
changeConnectionparameter ( string _parameter, string _parameterValue ) : void
makeCommand ( string _commandText ) : SqlCommand
runQuery ( SqlCommand _command, string queryType ) : ISQLReader
setConnection ( string _server, string _database, string _username, string _password, string _timeout ) : bool

비공개 메소드들

메소드 설명
SQLHandler ( ) : System

Singleton Constructor

메소드 상세

addParameter() 공개 메소드

public addParameter ( SqlCommand _command, string _parameterName, object _parameterValue, SqlDbType _parameterType ) : void
_command System.Data.SqlClient.SqlCommand
_parameterName string
_parameterValue object
_parameterType SqlDbType
리턴 void

changeConnectionparameter() 공개 메소드

public changeConnectionparameter ( string _parameter, string _parameterValue ) : void
_parameter string
_parameterValue string
리턴 void

makeCommand() 공개 메소드

public makeCommand ( string _commandText ) : SqlCommand
_commandText string
리턴 SqlCommand

runQuery() 공개 메소드

public runQuery ( SqlCommand _command, string queryType ) : ISQLReader
_command SqlCommand
queryType string
리턴 ISQLReader

setConnection() 공개 메소드

public setConnection ( string _server, string _database, string _username, string _password, string _timeout ) : bool
_server string
_database string
_username string
_password string
_timeout string
리턴 bool