8
shouts

Entity Framework 4 – Managing inverse properties - Roger Alsing

published 294 days, 13 hours, 16 minutes ago posted by DustinDustin 295 days, 17 hours, 23 minutes ago
Saturday, May 23, 2009 6:30:35 PM GMT Friday, May 22, 2009 2:24:22 PM GMT

To my surprise I’ve found out that Entity Framework 4 don’t support one directional collection properties.

That is, if you have the entity “Order” which has an “Details” property, then the “OrderDetail” entity must have an “Order” property. To make things worse, those properties do not have any auto sync mechanism if you are using POCO entities.

They could very well have supported this by adding an inverse management aspect to their run-time proxies that they use for lazy loading in POCO. While I...>

category: Architecture | clicked: 3 | | source: rogeralsing.com | show counter code
tags: EF, Entity, Entity Framework