Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 7380

Object-relational mapping (ORM) is a technique for mapping between object-oriented systems and relational databases.

2 votes

Do we achieve 100% Persistence Ignorance solution if we're not using ORM's POCO objects to m...

If you choose to not use ORM POCOs for your domain logic, fine. … you may need to force the ORM to retrieve it so it can be updated, depending on how the ORM is implemented. …
Otávio Décio's user avatar
1 vote

ORM and component-based architecture

My general rule when it comes to ORMs is to keep one component per database schema, if you have separate components to deal with the same database I would agree that you are missing on ORM benefits. …
Otávio Décio's user avatar
45 votes

Is ORM an Anti-Pattern?

This is akin to asking "is a power drill an anti-pattern?". ORMs earned a good place in my toolbox, reducing my boilerplate code and I am still able to use custom SQL if necessary. So if it is an anti …
Otávio Décio's user avatar
90 votes

Is SQL important if I know ORM frameworks well?

Absolutely! SQL is still the lingua franca of databases and although you may do a lot with ORMs you have to understand SQL to understand the decisions ORMs make and the SQL they generate. Also, there …
Otávio Décio's user avatar
4 votes

What kind of Web development projects benefit from using ORM?

The only web development projects that do NOT benefit from an ORM are the one not talking to a database at all. Which I believe are the minority (if any). …
Otávio Décio's user avatar