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