Namespace:
NHibernate.Type
Assembly: NHibernate (in NHibernate.dll)
Assembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function SortedMap ( _ role As String, _ propertyRef As String, _ comparer As IComparer _ ) As CollectionType |
C# |
---|
public static CollectionType SortedMap( string role, string propertyRef, IComparer comparer ) |
Visual C++ |
---|
public: static CollectionType^ SortedMap( String^ role, String^ propertyRef, IComparer^ comparer ) |
JavaScript |
---|
NHibernate.Type.TypeFactory.sortedMap = function(role, propertyRef, comparer); |
Parameters
- role
- Type: System..::.String
The role the 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..::.IComparer
The IComparer that does the sorting.