/// <summary> /// Verifies the exists. /// </summary> private void VerifyExists() { if (!MaintancePlans.Exists(_databasePath, _maintenancePlansName, out _errOut)) { MaintancePlans.Add(_databasePath, _maintenancePlansName, _maintenancePlansOperationDetails, _maintenancePlansIntervalsInDays, _maintenancePlansIntervalInRoundsFired, _maintenancePlansNotes, out _errOut); } }
public void AddTest() { VerifyDoesntExist(); bool value = MaintancePlans.Add(_databasePath, _maintenancePlansName, _maintenancePlansOperationDetails, _maintenancePlansIntervalsInDays, _maintenancePlansIntervalInRoundsFired, _maintenancePlansNotes, out _errOut); General.HasTrueValue(value, _errOut); }