/// <summary> /// Verifies the exists. /// </summary> private void VerifyExists() { if (!Appraisers.Exists(_databasePath, _appraisersName, out _errOut)) { bool value = Appraisers.Add(_databasePath, _appraisersName, out _errOut); } }
/// <summary> /// Verifies the doesnt exist. /// </summary> private void VerifyDoesntExist() { if (Appraisers.Exists(_databasePath, _appraisersName, out _errOut)) { long id = Appraisers.GetId(_databasePath, _appraisersName, out _errOut); bool value = Appraisers.Delete(_databasePath, id, out _errOut); } }