C# Class Blacker.MangaScraper.Library.SQLite.SchemaManager

Afficher le fichier Open project: blacker-cz/MangaScraper

Méthodes publiques

Méthode Description
CheckSchema ( SQLiteConnection connection ) : void

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

Private Methods

Méthode Description
BackupDatabase ( SQLiteConnection connection, string backupName ) : bool

Create a backup of database

GetSchemaVersion ( SQLiteConnection connection ) : long

Get schema version

InitDatabase ( SQLiteConnection connection ) : void

Method Details

CheckSchema() public méthode

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
Résultat void