9
Shouts

EF POCOs and GetObjectStateEntry : Don't Be Iffy

published 1268 days, 10 minutes ago posted by https://me.yahoo.com/mosessaur#7fe0dhttps://me.yahoo.com/mosessaur#7fe0d 1269 days, 2 hours, 39 minutes ago
Wednesday, December 02, 2009 11:48:50 AM GMT Tuesday, December 01, 2009 9:20:02 AM GMT

Even when working with POCOs, the EF’s ObjectContext can track the objects using ObjectStateEntry objects just as it does for entities that inherit from EntityObject. I was thinking about ObjectContext.ObjectStateManager.GetObjectStateEntry. This method has two overloads. One takes an entity and the other takes an EntityKey of an entity. Then it returns the ObjectStateEntry being maintained to track that particular entity. In more detail, the signature for the first overload is GetObjectStateEntry(obj...

category: How To | clicked: 1 | | source: thedatafarm.com | show counter code
tags: persistence ignorance, entityframework4, EF4, POCO

1 comment posted.

  • url Friday, December 16, 2011 8:58:02 AM GMT

    emilykaciemilykaci 524 days, 3 hours, 1 minute ago said:

    Apron Toe - A type of toe character babyliss hair straighteners ized by a large overlay that covers the front of the toe and has visible edges or stitching, to form a sort of "apron" on the front of the shoe. true religion sale It is made by the latest scientific developments and technological innovations. It is influenced by popular culture and leading personalities. Everything that shapes our world affects and inspires Moncler Sale fashion and by looking at historical fashion within the context Jackets For Men" of when it Cheap TOD'S Shoes was made we can understand how it came about.

To post your comment please login or signup