C# 클래스 TestME.DB

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

공개 메소드들

메소드 설명
CloseConn ( ) : void
Connect ( ) : void
Connected ( ) : bool
DB ( ) : System
DB ( string connectionString ) : System
QueryStatus ( ) : bool
bind ( string fields ) : void
bind ( string field, string value ) : void
column ( string query, string bindings = null, int colN ) : List
nQuery ( string query, string bindings = null ) : int
qBind ( string fields ) : void
query ( string query, string bindings = null ) : DataTable
row ( string query, string bindings = null ) : string[]
setConnection ( string host, string user, string pass, string dbname ) : void
single ( string query, string bindings = null ) : string
table ( string table, string bindings = null ) : DataTable
table ( string table, Type t ) : List

비공개 메소드들

메소드 설명
Init ( string Query, string bindings = null ) : void
execDatatable ( ) : DataTable
execNonquery ( ) : int

메소드 상세

CloseConn() 공개 메소드

public CloseConn ( ) : void
리턴 void

Connect() 공개 메소드

public Connect ( ) : void
리턴 void

Connected() 공개 메소드

public Connected ( ) : bool
리턴 bool

DB() 공개 메소드

public DB ( ) : System
리턴 System

DB() 공개 메소드

public DB ( string connectionString ) : System
connectionString string
리턴 System

QueryStatus() 공개 메소드

public QueryStatus ( ) : bool
리턴 bool

bind() 공개 메소드

public bind ( string fields ) : void
fields string
리턴 void

bind() 공개 메소드

public bind ( string field, string value ) : void
field string
value string
리턴 void

column() 공개 메소드

public column ( string query, string bindings = null, int colN ) : List
query string
bindings string
colN int
리턴 List

nQuery() 공개 메소드

public nQuery ( string query, string bindings = null ) : int
query string
bindings string
리턴 int

qBind() 공개 메소드

public qBind ( string fields ) : void
fields string
리턴 void

query() 공개 메소드

public query ( string query, string bindings = null ) : DataTable
query string
bindings string
리턴 System.Data.DataTable

row() 공개 메소드

public row ( string query, string bindings = null ) : string[]
query string
bindings string
리턴 string[]

setConnection() 공개 메소드

public setConnection ( string host, string user, string pass, string dbname ) : void
host string
user string
pass string
dbname string
리턴 void

single() 공개 메소드

public single ( string query, string bindings = null ) : string
query string
bindings string
리턴 string

table() 공개 메소드

public table ( string table, string bindings = null ) : DataTable
table string
bindings string
리턴 System.Data.DataTable

table() 공개 메소드

public table ( string table, Type t ) : List
table string
t System.Type
리턴 List