Entity Framework Core: Database first — oracle-tech

    Forum Stats

  • 3,715,916 Users
  • 2,242,906 Discussions
  • 7,845,683 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Entity Framework Core: Database first

7ec06591-5535-4d52-87e8-45fc62925283
edited June 2020 in ODP.NET

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"

Answers

Sign In or Register to comment.