I have a legacy database with the same ID stored with multiple representations (string and integer). I need my query to join based on the key.
I know about SqlFunctions.StringConvert
, but it doesn't work for my case, because the ID has 0-prefixes and the canonical representation of the number does not have string equivalence to other representations.
How can I convert my numeric string value into an integer from within my query?