I'm using dotConnect for Oracle, EF6, and CodeFirst approach with two DbContexts, each one with its own DatabaseInitializer.
With the startup of the app, both DatabaseInitializers are fired, but with the second one, I always get an error, and data of this initializer is not inserted in the database, neither the corresponding registry in table '__MigrationHistory':
The error I get is:
Code: Select all
"ORA-00955: name is already used by an existing object"
My question is: Is it posible to use Code Fist approach with more than one DbContext with corresponding DatabaseInitializer?