C# 클래스 FaceDetection.Model.Recognition.DatabaseHandler

파일 보기 프로젝트 열기: PkInfRemi/FaceDetectionApp

공개 메소드들

메소드 설명
Insert ( string statement ) : long

Inserts data into the database.

InsertAsync ( string statement ) : Task

Asynchronously inserts data into the database.

ResetDatabase ( ) : bool

Resets the database.

Select ( string statement ) : SQLiteDataReader

Selects data from the database.

SelectAsync ( string statement ) : Task

Asynchonously selects data from the database.

SelectObject ( string statement ) : object

Selects data from the database.

SelectObjectAsync ( string statement ) : Task

Asynchronously selects data from the database.

Update ( string statement ) : bool

Updates data in the database.

UpdateAsync ( string statement ) : Task

Asynchronously updates data in the database.

비공개 메소드들

메소드 설명
CloseConnection ( ) : bool
CreateTables ( ) : bool
DatabaseHandler ( ) : System
DeleteDatabase ( ) : bool
InitializeConnection ( ) : bool
InitializeDatabase ( ) : bool
OpenConnection ( ) : void

메소드 상세

Insert() 공개 정적인 메소드

Inserts data into the database.
public static Insert ( string statement ) : long
statement string The statement.
리턴 long

InsertAsync() 공개 정적인 메소드

Asynchronously inserts data into the database.
public static InsertAsync ( string statement ) : Task
statement string The statement.
리턴 Task

ResetDatabase() 공개 정적인 메소드

Resets the database.
public static ResetDatabase ( ) : bool
리턴 bool

Select() 공개 정적인 메소드

Selects data from the database.
public static Select ( string statement ) : SQLiteDataReader
statement string The statement.
리턴 System.Data.SQLite.SQLiteDataReader

SelectAsync() 공개 정적인 메소드

Asynchonously selects data from the database.
public static SelectAsync ( string statement ) : Task
statement string The statement.
리턴 Task

SelectObject() 공개 정적인 메소드

Selects data from the database.
public static SelectObject ( string statement ) : object
statement string The statement.
리턴 object

SelectObjectAsync() 공개 정적인 메소드

Asynchronously selects data from the database.
public static SelectObjectAsync ( string statement ) : Task
statement string The statement.
리턴 Task

Update() 공개 정적인 메소드

Updates data in the database.
public static Update ( string statement ) : bool
statement string The statement.
리턴 bool

UpdateAsync() 공개 정적인 메소드

Asynchronously updates data in the database.
public static UpdateAsync ( string statement ) : Task
statement string The statement.
리턴 Task