Print Page | Close Window

Entity event references

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2009
Forum Discription: For .NET 3.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=1661
Printed Date: 27-Apr-2025 at 7:54pm


Topic: Entity event references
Posted By: eskachig
Subject: Entity event references
Date Posted: 25-Feb-2010 at 2:18pm
Do cached entities keep objects that may be subscribed to their notification events (navigation properties resolve events, etc) in memory? Just wondering if I have to get serious with always unsubscribing from them to avoid memory leaks.



Replies:
Posted By: davidklitzke
Date Posted: 25-Feb-2010 at 4:34pm
I am not sure that I really understand the question .. but yes a “cached” entity sitting in memory and handlers will be called for any events fired.

 




Print Page | Close Window