コード例 #1
0
        public void AddTest()
        {
            VerifyDoesntExist();
            bool value = Nationality.Add(_databasePath, _nationalityName, out _errOut);

            General.HasTrueValue(value, _errOut);
        }
コード例 #2
0
 /// <summary>
 /// Verifies the exists.
 /// </summary>
 private void VerifyExists()
 {
     if (!Nationality.Exists(_databasePath, _nationalityName, out _errOut))
     {
         Nationality.Add(_databasePath, _nationalityName, out _errOut);
     }
 }