Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just use a Micro ORM from the get-go.

It's the perfect type-safe abstraction on top of raw SQL.

https://github.com/ServiceStack/ServiceStack.OrmLite

https://github.com/CollaboratingPlatypus/PetaPoco

Any errors you get are likely a result of the underlying database/provider (foreign key constraints, etc).

You should never write raw SQL (if possible). You don't need an ORM to achieve that.



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

Search: