Exemple #1
0
 static Database()
 {
     // For debugging
     var tweetsdb = Util.BaseDir + "/Documents/tweets.db";
     //System.IO.File.Delete (tweetsdb);
     Main = new Database (tweetsdb);
 }
 /// <summary>
 ///    Saves the tweet into the database
 /// </summary>
 void Insert(Database db)
 {
     db.Insert (this, "OR IGNORE");
 }
 public void Replace(Database db)
 {
     db.Insert (this, "OR REPLACE");
 }