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 not deleted user 111137

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

3 votes

Business logic outside shared ORM models

These will be only scheduled and occur when the ORM decides it's the right time. … With attempts to force the ORM to individual CRUD statements to the DB, the user violates the ORM and destroys many helpful features! …
Erik Hart's user avatar
  • 376
1 vote

If Repository Pattern is overkill for modern ORMs (EF, nHibernate), what is a better abstrac...

To me, repositories, combined with ORM or other DB persistence layers, have these disadvantages: Covering up Units of Work. … No matter if it is LINQ, an own query language, or even something taken directly from the ORM (OK, kind of coupling problem...). …
Erik Hart's user avatar
  • 376