Beispiel #1
0
 public override void InitConnection(DbDriver driver, IDbConnection conn)
 {
     if (ConfigReader.Config.Database.UseForeignKey)
     {
         using (IDbCommand e = driver.GetDbCommand(new SqlStatement("PRAGMA foreign_keys = ON;"), conn)) {
             e.ExecuteNonQuery();
         }
     }
 }