public void Delete(MonthlySOIAdjustment Adjustment) { using (DbManager db = new DbManager()) { Accessor.Query.Delete(db, Adjustment); } }
public void Save(MonthlySOIAdjustment Adjustment) { using (DbManager db = new DbManager()) { if (Adjustment.RecordNumber != 0) { Accessor.Query.Update(db, Adjustment); } else { Accessor.Query.Insert(db, Adjustment); } } }