Reputation: 76
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