4 ms·
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://g
by pknopf 7y ago
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/ServiceStack/ServiceStack.OrmLite
https://github.com/CollaboratingPlatypus/PetaPoco 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.