So I am using EF database first on an oracle db. I am getting the above error when I do this in my code:
contractType.CLIENT_TYPE != null && contractType.CLIENT_TYPE.ToUpper() == "POL"
That column is defined as VARCHAR2(10 BYTE) in Oracle and the .net type is string.
Did a lot of searching and no one really mentions this error in the context of .net. Hoping someone might have an idea.