We are trying to add a tables in program(Reverse Engineering) using Scaffold-DbContext command. It is working fine for almost all tables but giving error for one particular table:
Value cannot be null. (Parameter 'column')
The table contains a virtual column. Please suggest how issue can be resolved.
Scaffold-DbContext "DATA SOURCE=Datasource;PASSWORD=xxxxxx;USER ID=xxxxx" Oracle.EntityFrameworkCore -OutputDir Models -Tables PURCHASEORDER -Force -Context "AppDBContext"
I just added a virtual column to the Blogs table sample and was able to scaffold it successfully. Can you provide the create script for the table in question?