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