.NET has no design equivalent for Java's Set so we are going to use the Iesi.Collections library. This class is internal to NHibernate and shouldn't be used by user code.

Namespace: NHibernate.Collection
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
[SerializableAttribute]
public class PersistentSet : AbstractPersistentCollection, 
	ISet, ICollection, IEnumerable, ICloneable
Visual Basic
<SerializableAttribute> _
Public Class PersistentSet _
	Inherits AbstractPersistentCollection _
	Implements ISet, ICollection, IEnumerable, ICloneable
Visual C++
[SerializableAttribute]
public ref class PersistentSet : public AbstractPersistentCollection, 
	ISet, ICollection, IEnumerable, ICloneable

Remarks

The code for the Iesi.Collections library was taken from the article Add Support for "Set" Collections to .NET that was written by JasonSmith.

Inheritance Hierarchy

See Also