C# 클래스 Schumix.Framework.Database.SQLite

파일 보기 프로젝트 열기: Schumix/Schumix2

공개 메소드들

메소드 설명
Delete ( string sql ) : bool
Delete ( string TableName, string Where ) : bool
ExecuteNonQuery ( string sql, bool logerror = true ) : void
Insert ( string sql ) : bool
Insert ( string TableName, string Values ) : bool
IsCreatedTable ( string Table ) : bool
Query ( string query, bool logerror = true ) : DataTable

Executes the given query on the database.

QueryFirstRow ( string query ) : DataRow

Executes the given query on the database and returns the result's first row.

RemoveTable ( string Table ) : bool
SQLite ( ) : System
SQLite ( string file ) : System
Update ( string sql ) : bool
Update ( string TableName, string Set ) : bool
Update ( string TableName, string Set, string Where ) : bool

비공개 메소드들

메소드 설명
Crash ( System.Data.SQLite.SQLiteException s, bool logerror, bool c = false ) : void
Initialize ( string file ) : bool
IsConnect ( ) : void

메소드 상세

Delete() 공개 메소드

public Delete ( string sql ) : bool
sql string
리턴 bool

Delete() 공개 메소드

public Delete ( string TableName, string Where ) : bool
TableName string
Where string
리턴 bool

ExecuteNonQuery() 공개 메소드

public ExecuteNonQuery ( string sql, bool logerror = true ) : void
sql string
logerror bool
리턴 void

Insert() 공개 메소드

public Insert ( string sql ) : bool
sql string
리턴 bool

Insert() 공개 메소드

public Insert ( string TableName, string Values ) : bool
TableName string
Values string
리턴 bool

IsCreatedTable() 공개 메소드

public IsCreatedTable ( string Table ) : bool
Table string
리턴 bool

Query() 공개 메소드

Executes the given query on the database.
public Query ( string query, bool logerror = true ) : DataTable
query string
logerror bool
리턴 DataTable

QueryFirstRow() 공개 메소드

Executes the given query on the database and returns the result's first row.
public QueryFirstRow ( string query ) : DataRow
query string Query to execute
리턴 DataRow

RemoveTable() 공개 메소드

public RemoveTable ( string Table ) : bool
Table string
리턴 bool

SQLite() 공개 메소드

public SQLite ( ) : System
리턴 System

SQLite() 공개 메소드

public SQLite ( string file ) : System
file string
리턴 System

Update() 공개 메소드

public Update ( string sql ) : bool
sql string
리턴 bool

Update() 공개 메소드

public Update ( string TableName, string Set ) : bool
TableName string
Set string
리턴 bool

Update() 공개 메소드

public Update ( string TableName, string Set, string Where ) : bool
TableName string
Set string
Where string
리턴 bool