Initializes a new instance of a GenericSortedSetType<(Of <(T>)>) class for
a specific role.
Namespace:
NHibernate.TypeAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New ( _ role As String, _ propertyRef As String, _ comparer As IComparer(Of T) _ ) |
C# |
---|
public GenericSortedSetType( string role, string propertyRef, IComparer<T> comparer ) |
Visual C++ |
---|
public: GenericSortedSetType( String^ role, String^ propertyRef, IComparer<T>^ comparer ) |
JavaScript |
---|
NHibernate.Type.GenericSortedSetType = function(role, propertyRef, comparer); |
Parameters
- role
- Type: System..::.String
The role the persistent collection is in.
- propertyRef
- Type: System..::.String
The name of the property in the owner object containing the collection ID, or nullNothingnullptra null reference (Nothing in Visual Basic) if it is the primary key.
- comparer
- Type: System.Collections.Generic..::.IComparer<(Of <(T>)>)
The IComparer<(Of <(T>)>) to use to compare set elements.