EF + ODP.NET + CLOB = Value Cannot be Null - Parameter name: byteArray?
问题 Our project recently updated to the newer Oracle.ManagedDataAccess DLL's (v 4.121.2.0) and this error has been cropping up intermittently. We've fixed it a few times without really knowing what we did to fix it. I'm fairly certain it's caused by CLOB fields being mapped to strings in Entity Framework, and then being selected in LINQ statements that pull entire entities instead of just a limited set of properties. Error: Value cannot be null. Parameter name: byteArray Stack Trace: at System