Support for ISupportInitialize in Entity Framework RRS feed

  • Question

  • Is there a way to know when an entity is being initialized? It would be great if the Entity Framework supported the ISupportInitialize interface. 

    Basically what I'm trying to do is update a LastModified property when a certain other property is updated. However the OnXxxChanged function is called whenever the property is set, regardless of whether the object is being initialized or even just being set to the same value as before.

    Sunday, November 7, 2010 7:47 PM