示例#1
0
 public static bool CHAT_KEYS_Guncelle(CHAT_KEYS Tablo)
 {
     try
     {
         var conn = new SQLiteConnection(System.IO.Path.Combine(documentsFolder(), "Buptis.db"), false);
         conn.Update(Tablo);
         conn.Close();
         return(true);
     }
     catch (Exception e)
     {
         string ee = e.ToString();
         return(false);
     }
 }
示例#2
0
 public static bool CHAT_KEYS_EKLE(CHAT_KEYS GelenDoluTablo)
 {
     try
     {
         var conn = new SQLiteConnection(System.IO.Path.Combine(documentsFolder(), "Buptis.db"), false);
         conn.Insert(GelenDoluTablo);
         conn.Close();
         return(true);
     }
     catch (Exception ex)
     {
         var exx = ex.Message;
         return(false);
     }
 }