예제 #1
0
 public static void EditnewJob(PrepAndPaintModel editJob)
 {
     using (SQLiteConnection connection = new SQLiteConnection(DataBase.mainDatabaseFile))
     {
         connection.Update(editJob);
     }
 }
예제 #2
0
 public static void Delete(PrepAndPaintModel Id)
 {
     using (SQLiteConnection connection = new SQLiteConnection(DataBase.mainDatabaseFile))
     {
         connection.Delete(Id);
     }
 }
예제 #3
0
 public static void AddnewJob(PrepAndPaintModel newJob)
 {
     using (SQLiteConnection connection = new SQLiteConnection(DataBase.mainDatabaseFile))
     {
         connection.Insert(newJob);
     }
 }