why Child_PropertyChanged of BusinessListBase onlyexecute in remoting and not in local?

why Child_PropertyChanged of BusinessListBase onlyexecute in remoting and not in local?

Old forum URL: forums.lhotka.net/forums/t/6127.aspx


arquisoft posted on Monday, January 12, 2009

Please We have a problem :

 

we have un DataGridView binding to a collection (3000 rows) and

when the user change un value in one row happens :

 a) when is in local is fast . because NOT EXECUTE Child_PropertyChanged of BusinessListBase

b) when is in remoting is slowly because EXECUTE Child_PropertyChanged of BusinessListBase

why ?

I give thanks

Alejandro Román

Arquisoft Chile

RockfordLhotka replied on Monday, January 12, 2009

This could be a bug, I've added an item to the bug tracker.

http://www.lhotka.net/cslabugs/edit_bug.aspx?id=286

arquisoft replied on Monday, January 12, 2009

Thanks.

AR

RockfordLhotka replied on Tuesday, January 20, 2009

I believe I've fixed this issue, but would appreciate confirmation. You should be able to replace your BLB with the latest code in svn:

http://www.lhotka.net/cslacvs/viewvc.cgi/trunk/cslacs/Csla/BusinessListBase.cs?view=log

And I think it will now work. My unit tests showing inconsistent behavior before/after serialization are now passing, and Child_PropertyChanged doesn't re-raise ListChanged except after deserialization (when it is necessary because BindingList<T> doesn't raise the event like it should).

Copyright (c) Marimer LLC