eramgarden
Well-known member
- Joined
- Mar 8, 2004
- Messages
- 579
I had an interview today and I looked at their ASP.Net/VB.Net app. I was told that the app interacts with AS400/IBM and SQL Server;therefor, the ex-developer developed 2 sets of "data" tier...one to interact with AS400 and one to interact with SQL Server.
My question is: did he actually need to develop 2 sets of "data" layer/tier code?? Couldnt there be logic to use, for example, this data connection, if its AS400..go down this path if its SQl Server?? How would you design a data layer/tier to interact with 2 databases?
My question is: did he actually need to develop 2 sets of "data" layer/tier code?? Couldnt there be logic to use, for example, this data connection, if its AS400..go down this path if its SQl Server?? How would you design a data layer/tier to interact with 2 databases?