Exemple #1
0
        public override int Visit(SqlStringLiteral sqlStringLiteral)
        {
            int hashCode = SqlStringLiteralHashCode;

            hashCode = CombineHashes(hashCode, SqlObjectHasher.Djb2(sqlStringLiteral.Value));
            return(hashCode);
        }
Exemple #2
0
        public override int Visit(SqlParameter sqlObject)
        {
            int hashCode = SqlParameterHashCode;

            hashCode = CombineHashes(hashCode, SqlObjectHasher.Djb2(sqlObject.Name));
            return(hashCode);
        }
Exemple #3
0
        public override int Visit(SqlPropertyName sqlPropertyName)
        {
            int hashCode = SqlPropertyNameHashCode;

            hashCode = CombineHashes(hashCode, SqlObjectHasher.Djb2(sqlPropertyName.Value));
            return(hashCode);
        }
Exemple #4
0
        public override int Visit(SqlIdentifier sqlIdentifier)
        {
            int hashCode = SqlIdentifierHashCode;

            hashCode = CombineHashes(hashCode, SqlObjectHasher.Djb2(sqlIdentifier.Value));
            return(hashCode);
        }