public IEntityAuditQuery <TEntity> TraverseRelation(string associationName, JoinType joinType)
        {
            AuditRevisionsAssociationQuery <TEntity> result;

            if (!_associationQueryMap.TryGetValue(associationName, out result))
            {
                result = new AuditRevisionsAssociationQuery <TEntity>(_auditConfiguration, _auditReader, this, _queryBuilder, _entityName, associationName, _joinType, _alias);
                _associationQueries.Add(result);
                _associationQueryMap[associationName] = result;
            }
            return(result);
        }
        public IEntityAuditQuery <TEntity> TraverseRelation(string associationName, JoinType joinType)
        {
            AuditRevisionsAssociationQuery <TEntity> result;

            if (!_associationQueryMap.TryGetValue(associationName, out result))
            {
                result = new AuditRevisionsAssociationQuery <TEntity>(AuditConfiguration, _versionsReader, this, QueryBuilder, EntityName, associationName, joinType, QueryConstants.ReferencedEntityAlias);
                _associationQueries.Add(result);
                _associationQueryMap[associationName] = result;
            }
            return(result);
        }