Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Type
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13890/Type
Modified Files:
SortedSetType.cs
Log Message:
minor mods with SortedSet - removed a ctor and made property Comparer read only because SortedList does not have a way to change the Comparer after being initialized.
Index: SortedSetType.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Type/SortedSetType.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** SortedSetType.cs 10 Feb 2004 18:41:42 -0000 1.2
--- SortedSetType.cs 8 Apr 2004 21:11:33 -0000 1.3
***************
*** 18,24 ****
public override PersistentCollection Instantiate(ISessionImplementor session, CollectionPersister persister) {
! // TODO: uncomment when SortedSet is implemented
! SortedSet sortedSet = new SortedSet(session);
! sortedSet.Comparer = comparer;
return sortedSet;
}
--- 18,23 ----
public override PersistentCollection Instantiate(ISessionImplementor session, CollectionPersister persister) {
! SortedSet sortedSet = new SortedSet(session, comparer);
! //sortedSet.Comparer = comparer;
return sortedSet;
}
|