Пример #1
0
 public static void SaveEntryDO(EntryDO row)
 {
     lock (locker) { if (row.Id == 0)
                     {
                         me.Insert(row as object);
                     }
                     else
                     {
                         me.Update(row as object);
                     } }
 }
Пример #2
0
 public static void DeleteEntryDO(EntryDO row)
 {
     lock (locker) { me.DeleteObject <EntryDO>(row); }
 }
Пример #3
0
 private void DeleteObject <T>(EntryDO row)
 {
     me.Delete <EntryDO>(row.Id);
 }