I have a .net core project where i am using entity framework db first connecting to sql server which is working fine, now i have similar set of tables in oracle can i just run the project by changing connection string and provider to oracle? Or any major rework is needed to make this work?
-
Maybe. It depends. How "similar" is "similar"? If the names are identical, if there are no implementation-specific types, you may only have to change the connection string. Have you tried this?Panagiotis Kanavos– Panagiotis Kanavos2022-10-07 07:08:16 +00:00Commented Oct 7, 2022 at 7:08
Add a comment
|
1 Answer
You need to regenerate the DbContext mappings using reverse engineering
2 Comments
Panagiotis Kanavos
If the names are identical and the mappings have no SQL Server-specific types or defaults, reverse engineering probably isn't needed
Keep Learning
Thanks, may be in my case its needed but i get it what u mean.