Example #1
0
        private void Verify(SqlExecutionErrorException sqlExecutionErrorException)
        {
            var sqlException = sqlExecutionErrorException.InnerException as SqlException;

            if (sqlException != null && sqlException.Number == 7601)
            {
                ParametrizedAction.Value = "ContainsException";
            }
        }
Example #2
0
 private void Verify(SqlExecutionErrorException sqlExecutionErrorException) {
     var sqlException = sqlExecutionErrorException.InnerException as SqlException;
     if (sqlException != null && sqlException.Number == 7601)
         ParametrizedAction.Value = "ContainsException";
 }