Hi, I writting a few Rhino Mocks custom constraints to allow easier testing of NHibernate querying related bits.
I came now to a DetachedCriteriaConstraints which compares the method parameter detached criteria to one I provide (this is to test that the repository in this case got a correctly assembled query). For this to work I need a way to compare 2 DetachedCriterias and get information are they equal or now (likewise with DetachedQuery). My question is...is there any mechanism I can use for this (I've seen in code that .ToString only creates a string of criterions and not projections, orders, etc..) so I can't create two strings from the DetachedCriterias and compare that. If there is no built in mechanism, I can write it myself for this but I would rather reuse something already built than invent hot water. Any ideas? Thanks, Vladan Strigo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
