C# 클래스 KBS2.Handlers.DatabaseHandler

파일 보기 프로젝트 열기: Railec/SE1cKBS2 1 사용 예제들

공개 메소드들

메소드 설명
DeleteSQL ( string tablename, string colummname, string value ) : void
GetInstance ( ) : DatabaseHandler
InsertSql ( string tablename, string value ) : long
SelectSQL ( string query ) : DataTable
SelectSingleSQL ( string query ) : object
Sql ( string query ) : long
UpdateSQL ( string tableName, string colummname, string value ) : void
getConnection ( ) : MySqlConnection
getReader ( String query ) : MySqlDataReader

비공개 메소드들

메소드 설명
DatabaseHandler ( ) : System
KeyWord ( string query ) : string

메소드 상세

DeleteSQL() 공개 메소드

public DeleteSQL ( string tablename, string colummname, string value ) : void
tablename string The string with the name of the table in it.
colummname string
value string The string with the value of the column name in it.
리턴 void

GetInstance() 공개 정적인 메소드

public static GetInstance ( ) : DatabaseHandler
리턴 DatabaseHandler

InsertSql() 공개 메소드

public InsertSql ( string tablename, string value ) : long
tablename string The string with the name of the table in it.
value string The string with the value of the column name in it.
리턴 long

SelectSQL() 공개 메소드

public SelectSQL ( string query ) : DataTable
query string The string with the query in it.
리턴 System.Data.DataTable

SelectSingleSQL() 공개 메소드

public SelectSingleSQL ( string query ) : object
query string The string with the query in it.
리턴 object

Sql() 공개 메소드

public Sql ( string query ) : long
query string The string with the query in it, which is being excecuted.
리턴 long

UpdateSQL() 공개 메소드

public UpdateSQL ( string tableName, string colummname, string value ) : void
tableName string
colummname string
value string The string with the value of the column name in it.
리턴 void

getConnection() 공개 메소드

public getConnection ( ) : MySqlConnection
리턴 MySql.Data.MySqlClient.MySqlConnection

getReader() 공개 메소드

public getReader ( String query ) : MySqlDataReader
query String
리턴 MySql.Data.MySqlClient.MySqlDataReader