C# 클래스 GreenQloud.Persistence.SQLite.SQLiteDatabase

파일 보기 프로젝트 열기: greenqloud/qloudsync

공개 메소드들

메소드 설명
CreateDataBase ( ) : void
ExecuteNonQuery ( string sql ) : int

Allows the programmer to interact with the database for purposes other than a query.

ExecuteNonQuery ( string sql, bool returnId ) : int
ExecuteScalar ( string sql ) : string

Allows the programmer to retrieve single items from the DB.

GetDataTable ( string sql ) : DataTable

Allows the programmer to run a query against the Database.

Instance ( ) : SQLiteDatabase

비공개 메소드들

메소드 설명
SQLiteDatabase ( ) : Mono.Data.Sqlite

메소드 상세

CreateDataBase() 공개 메소드

public CreateDataBase ( ) : void
리턴 void

ExecuteNonQuery() 공개 메소드

Allows the programmer to interact with the database for purposes other than a query.
public ExecuteNonQuery ( string sql ) : int
sql string The SQL to be run.
리턴 int

ExecuteNonQuery() 공개 메소드

public ExecuteNonQuery ( string sql, bool returnId ) : int
sql string
returnId bool
리턴 int

ExecuteScalar() 공개 메소드

Allows the programmer to retrieve single items from the DB.
public ExecuteScalar ( string sql ) : string
sql string The query to run.
리턴 string

GetDataTable() 공개 메소드

Allows the programmer to run a query against the Database.
public GetDataTable ( string sql ) : DataTable
sql string The SQL to run
리턴 System.Data.DataTable

Instance() 공개 정적인 메소드

public static Instance ( ) : SQLiteDatabase
리턴 SQLiteDatabase