Hello,
Is it possible to write a query where two fields are the same such as SELECT * FROM [TABLE] WHERE [Field1] = [Field2] I see we can call .WhereEquals(leftside, rightside) but how can I tell the system to use another column instead of a static value?
SELECT * FROM [TABLE] WHERE [Field1] = [Field2]
.WhereEquals(leftside, rightside)
Thank you,
you can use the normal "Where(string)" method on the object query to write that out, the where equals assumes you are passing a value
Please, sign in to be able to submit a new answer.