Timeline for If Repository Pattern is overkill for modern ORMs (EF, nHibernate), what is a better abstraction?
Current License: CC BY-SA 3.0
16 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 17, 2017 at 9:10 | answer | added | k3b | timeline score: 1 | |
| Oct 16, 2017 at 20:39 | comment | added | TheCatWhisperer | Yes, combining repositories with ORMs is unnecessary, but you have it the other way around... stop using ORMs | |
| Oct 16, 2017 at 19:59 | history | edited | amon | edited tags | |
| Jun 5, 2016 at 17:24 | history | tweeted | twitter.com/StackProgrammer/status/739508202971246592 | ||
| Apr 7, 2016 at 18:13 | answer | added | Erik Hart | timeline score: 1 | |
| Mar 25, 2016 at 14:27 | comment | added | bobek | we should go back to calling SQL from controllers | |
| Mar 25, 2016 at 10:26 | answer | added | guillaume31 | timeline score: 6 | |
| Mar 19, 2016 at 18:38 | comment | added | JacquesB | @AnotherDeveloper: An ORM is designed for this purpose. | |
| Mar 19, 2016 at 17:25 | answer | added | dhalsim | timeline score: 0 | |
| Mar 19, 2016 at 16:12 | answer | added | Ewan | timeline score: 12 | |
| Mar 19, 2016 at 0:20 | comment | added | John Peters | But one area I looked into but rejected was the Expression Tree business, some really like it, but....you have to study it hard before you find it useful. | |
| Mar 19, 2016 at 0:20 | comment | added | John Peters | Reed Cospey has a lot of positive things to say about IQuerable here: stackoverflow.com/questions/1578778/using-iqueryable-with-linq This implies it's better at the transport layer. As far as abstraction, I found use for the Generic Repository pattern work well when I needed to inject the EntityType but still wanted to maintain common methods. On the other hand, I myself have argued on MSDN LINQ forum that EF is a repository pattern because it's all in memory. One project used numerous Where clauses as method calls which worked well. | |
| Mar 18, 2016 at 21:59 | comment | added | AnotherDeveloper | @JacquesB I'm trying to avoid object relational impedance issues with a robust domain model, but also abstract that away from my viewmodels in an mvc implementation. | |
| Mar 18, 2016 at 21:15 | comment | added | JacquesB | What specifically are you trying to achieve? Abstractions should have a purpose. If you are writing a CRUD app an ORM is probably abstract enough. | |
| Mar 18, 2016 at 21:00 | review | First posts | |||
| Mar 23, 2016 at 12:10 | |||||
| Mar 18, 2016 at 20:57 | history | asked | AnotherDeveloper | CC BY-SA 3.0 |