I want to create an object of different DBs(SQL, Oracle, Mongo, etc.). Depending on a key(Coming from UI) I have will decide which object to create. Which design pattern I shall use for this problem? I want to use a generic method to create an object. The system should be decoupled.
Aucun commentaire:
Enregistrer un commentaire