Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

EF Core 3.1 Beta Creating DB with regarding fluent API

user606112Jul 10 2020 — edited Jul 10 2020

I created the database from the model as in the example of nuget package is demonstrated by using Add-Migration und Update-Database.

I added some fluent-API records to my code after creating the DB because the migration doesn't accept them. How can I create the

database from the model with regarding fluent-API records in advance? It will be necessary to determine the oracle-datatypes and -sizes.

Comments

Alex Keh-Oracle

Before you add you first migration, you can make all your Fluent API changes first. Once done, add the migration and then update the database.

1 - 1

Post Details

Added on Jul 10 2020
1 comment
137 views