C# 클래스 Blacker.MangaScraper.Library.SQLite.SchemaManager

파일 보기 프로젝트 열기: blacker-cz/MangaScraper

공개 메소드들

메소드 설명
CheckSchema ( SQLiteConnection connection ) : void

This method checks whether the database uses latest schema and if it doesn't it will automatically initiate schema upgrade.

비공개 메소드들

메소드 설명
BackupDatabase ( SQLiteConnection connection, string backupName ) : bool

Create a backup of database

GetSchemaVersion ( SQLiteConnection connection ) : long

Get schema version

InitDatabase ( SQLiteConnection connection ) : void

메소드 상세

CheckSchema() 공개 메소드

This method checks whether the database uses latest schema and if it doesn't it will automatically initiate schema upgrade.
public CheckSchema ( SQLiteConnection connection ) : void
connection System.Data.SQLite.SQLiteConnection Connection to the SQLite database
리턴 void