After scaffolding my Oracle Database I get run time errors that look like this:
The properties x,y,z... are configured to use 'Identity' value generator and are mapped to the same table . Only one column per table can be configured as 'Identity'
I discovered that it can be fixed by removing .ValueGeneratedOnAdd( ) from select columns in the DB Context file.
Is there a way I can scaffold the database without manual edits afterwards?
Manual editing of machine generated code is wasteful, because for example if I have to re-scaffold in the future I will have to do all of this manual work again.