linq equals override -


Can someone help me override an operator in C # Linux?

This problem is:

  var temp = from t1 to table 1 in t2 in t2 at t1.column1 ** equal to ** t2.column2 t1.column4 Choose;  

It is notable that t1.column1 and t2.column2 are actually some specific types if anyone needs more information If so, please let me know.

Well, you have not said that it is LINQ object, LINQ to SQL etc. ... Assuming LINQ as an object, you just need to override the types included in the equal and GetHashCode methods.

If this is LINQ from SQL, then it is difficult - you can not specify a custom comparison as far as I know.

If you can give more information about it, it will be very easy to help you get it.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -