Create a data layer to conditionally support SQL server and Oracle databases using EF6

Visitor
I am developing a rest API using Web API and EF6. We need to support SQL server and Oracle databases by writing a common interface for db CRUD operations. Is it possible?? I do not find any examples of a common interface which takes care of initializing the corresponding db's dbcontext and calling the method implementations. The data entities are different for SQL and Oracle. Any help here is appreciated?
0 Replies