nielcleo
nielcleo

Reputation: 76

EF database-first approach with 2 databases (test db and production db)

I'm developing a web API with existing database and it has 600k+ records on it. I will be using EF with a database-first approach and planning to clone the production db for staging purposes.

I'm planning to generate 2 .edmx models (production and testing) and the I just change the context name in my repository to point to the right context

Is there any best way to do it?

Sorry this is my first time to do database-first approach

Thanks in advance!

Cheers!

Upvotes: 0

Views: 77

Answers (0)

Related Questions