Skip to content

HashSet is not supported by SetParameterList #1585

@AlPecin

Description

@AlPecin

Hello,
I got a GenericADOException when enabling a filter in the session with SetParameterList("FilterA", HashSet<Guid>).

When I query the session with a hql statement I got the GenericADOException and the
inner exception said "System.Collections.Generic.HashSet``1[System.Guid]" cannot convert to type "System.String".

The reason seems to be that HashSet<T> doesn't implement the ICollection interface.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions