/// <summary> /// Verifies the exists. /// </summary> private void VerifyExists() { if (!CustomReports.Exists(_databasePath, _crReportName, out _errOut)) { CustomReports.Add(_databasePath, _crReportName, _crSql, out _errOut); } }
public void ExistsTest() { VerifyExists(); bool value = CustomReports.Exists(_databasePath, _crReportName, out _errOut); General.HasTrueValue(value, _errOut); }
/// <summary> /// Verifies the doesnt exist. /// </summary> private void VerifyDoesntExist() { if (CustomReports.Exists(_databasePath, _crReportName, out _errOut)) { long id = CustomReports.GetId(_databasePath, _crReportName, out _errOut); CustomReports.Delete(_databasePath, id, out _errOut); } }