On Jan 15, 12:17 am, Diego Mijelshon <[email protected]> wrote: > Uniqueness can't be tested in the database, as you might have overriden > equality in the class.
Good point. In my specific case the list contains plain old strings, and it would suffice to use the collation rules of the database. But in the general case - which NH should be built for - this is not guaranteed to be the case. I will look into IUserCollectionType and ICollectionTypeFactory, to see if I am able to built some kind of "CheapStringSet" which can be used for properties like large sets of email addresses. Thanks to both of you for the advice/discussion.
-- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
