Beispiel #1
0
 public static bool AYARLAR_Guncelle(AYARLAR Tablo)
 {
     try
     {
         var conn = new SQLiteConnection(System.IO.Path.Combine(documentsFolder(), "TestBang.db"), false);
         conn.Update(Tablo);
         conn.Close();
         return(true);
     }
     catch (Exception e)
     {
         string ee = e.ToString();
         return(false);
     }
 }
Beispiel #2
0
 public static bool AYARLAR_EKLE(AYARLAR GelenDoluTablo)
 {
     try
     {
         var conn = new SQLiteConnection(System.IO.Path.Combine(documentsFolder(), "TestBang.db"), false);
         conn.Insert(GelenDoluTablo);
         conn.Close();
         return(true);
     }
     catch (Exception Ex)
     {
         var aa = Ex.Message;
         return(false);
     }
 }