Shared BO by Static property and ServerDataChanged


Author
Message
ChanKK
ChanKK
StrataFrame User (248 reputation)StrataFrame User (248 reputation)StrataFrame User (248 reputation)StrataFrame User (248 reputation)StrataFrame User (248 reputation)StrataFrame User (248 reputation)StrataFrame User (248 reputation)StrataFrame User (248 reputation)StrataFrame User (248 reputation)
Group: Forum Members
Posts: 190, Visits: 1.3K
Hi,

I would like to use static property to stored some shared BO instance and data (as suggested by SF). Beside, I also would like to implement "auto requery" if any underlying data changed at server.



Anyway to make sure "auto requery" doesn't crash the web app? e.g. while ServerDataChanged event fired, there might be record populating taking place for ASPX. It I try to re-fill at that time, it might crash the system. I was thinking to use lock() statement to lock another static object for this purpose. But where should I do so?



Please advice. Thank you
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search