Skip to Main Content

Entity Framework Core: Database first

7ec06591-5535-4d52-87e8-45fc62925283Jun 26 2020 — edited Jun 26 2020

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"

Comments
Post Details
Added on Jun 26 2020
4 comments
1,357 views