IOC are at the class level, but what about database conflicts?

Posted by mrblah on Stack Overflow See other posts from Stack Overflow or by mrblah
Published on 2009-09-05T20:04:51Z Indexed on 2010/05/18 5:30 UTC
Read the original article Hit count: 178

With IOC I understand you can substitue implementations out by merely editing a configuration file etc.

BUT, what happens when the classes are married to particular database tables and sprocs, you can't just swap out an implementation since the classes/entities are tied to particular tables and stored procedures.

Am I right here?

© Stack Overflow or respective owner

Related posts about inversion-of-control

Related posts about c#