public static void SaveLHRemind(SQLiteConnection connection,LHRemindItem item) { DataProvider dtb = new DataProvider (connection); if (dtb.GetLHRemind (item.IDLH,item.Date) == null) { dtb.AddRemindLH (item); } }
public static List<LHRemindItem> GetLHRemind(SQLiteConnection connection,string id) { DataProvider dtb = new DataProvider (connection); return dtb.GetLHRemind (id); }
public static LHRemindItem GetLHRemind(SQLiteConnection connection,string id,string date) { DataProvider dtb = new DataProvider (connection); return dtb.GetLHRemind (id,date); }