Greetings - I've implemented a custom Linq provider extender (using BaseHqlGeneratorForMethod and DefaultLinqToHqlGeneratorsRegistry) in order to provide equality for a custom type. This works well when I use the object's overridden "Equals()" method, but when I try to use the "op_Equality" operator, it fails. What appears to be happening is that the query provider intercepts the "==" operator and doesn't look in the generator registry for a handler.
I'd like to find a way to add support for an overloaded "==" operator, but I wanted to make sure that I was observing the current behavior correctly first. Can anyone confirm if custom operator query generation is supported or not? Thanks -rory -- 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.
