I have a list of ints that I want to join into a string
ids = [1,2,3,4,5]
that looks like 'Id = 1 or Id = 2 or Id = 3 or Id = 4 or ID = 5'
I have an answer now but I thought it may be good to get the panel's opinion
Edit: More information to the nay sayers... This not generating SQL directly, this is dynamic expression that is being sent to a Ado.net data services layer that uses Entity Framework underneath. The IN clause which is what is preferred is currently not supported by the dynamic expression handler/EF4 adapter in the service yet and I have to resort to multiple equals statements for the time being.