OnRemoveComplete in CSLA 3.0

OnRemoveComplete in CSLA 3.0

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


divsalar posted on Thursday, July 03, 2008

Hi,
I am new in Csla and working on upgrading a .Net 1.1 to .Net 3.5 project. CSLA version 1.0 is used in the old application where I am using version 3.0 in the new app.

I came accross an overridden method called OnRemoveComplete in the old one which is derived from BusinessCollectionBase where it doesn't exist in V3.0.

Here is the old code:
        protected override  void OnRemoveComplete(int index, object value)
        {
             base.OnRemoveComplete(index, value);
             ....
             ....
        }

I purchased the latest CSLA 3.0 eBook and couldn't find anything related in it.

Could someone please help on what I should use instead of OnRemoveComplete?

Many thanks in advance

Regards

Ben

RockfordLhotka replied on Thursday, July 03, 2008

You probably want to override RemoveItem().

Copyright (c) Marimer LLC