Some Entity Framework 5 query not working after migrating solution from VS 2012 to VS 2019
Zeng, Sheng (TBS)
1
Reputation point
We use EF5 in our project. The same code was working in VS 2012. After migrated solution from VS 2012 to VS 2019, some EF query got the following exception:
"System.NotSupportedException: Unable to create a constant value of type ''. Only primitive types or enumeration types are supported in this context." Does anyone have the similar experience?