Hacker News new | past | comments | ask | show | jobs | submit login

You are correct, if I were doing unit testing with any other language besides C#, my entire argument with respect to not using a DB would be moot. But I would still rather have a module/service to enforce some type of sanity on database access.

The way that Linq works and the fact that it’s actually compiled to expression trees at compile time and that the provider translates that to the destination at runtime whether it be database specific SQL, MongoQueries or C#/IL, does make this type of testing possible.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: