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

>When you fetch an object, which of its properties (columns in the table) do you need? ORM can't know, so it gets all of them (or it requires you to say, breaking the abstraction).

Not true. If you take the nHibernate approach of returning a proxy argument then you can get clients to "tell you" without breaking the abstraction. You normally don't worry about this, though, because pulling 30 properties usually isn't much different then pulling 3.



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

Search: