private DBConfiguration() { if (con == null) { con = new SQLiteConnection("MaBaseSqLite"); if (con.GetTableInfo("Ville").Count == 0) { con.CreateTable <Ville>(); } if (con.GetTableInfo("Parametrage").Count == 0) { con.CreateTable <Parametrage>(); } } instance = this; }
public void KillConnection() { con.Close(); instance = null; }