I\'m using Oracle provider for Entity framework (beta), and I\'m facing a problem.
Our tables have Id columns, which are set to be Identity in StoreGeneratedPattern.
I am using Oracle ODP.NET, Managed driver and Entity Framework 6. I created my tables using the code-first approach but wasn't able to add any records due to a null primary key.
The solution was to grant my user both:
'CREATE SEQUENCE' and
'CREATE TRIGGER'
permissions and re-create the schema.
I realized this after using the -verbose flag in the package management console