Is there a a good AfterAdd event?

Posts   
 
    
Jeff M
User
Posts: 250
Joined: 04-Aug-2004
# Posted on: 30-Apr-2006 19:53:43   

Hello all.

Strange as it sounds, I can't seem to find a good AfterAdd event that I can use when a new entity is added to a EntityCollectionBase2.

EntityCollectionBase2 doesn't have such an event.

BindingSource has OnAddingNew, but that event is called BEFORE the object is added to the list and then it's called many, many times on each add (who knows why?).

I'm using the DevEx GridControl and it's InitNewRow event simply doesn't work.

Seems weird that something so simple is evading me. Am I missing something? All suggestions appreciated.

Thanks.

Jeff

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39928
Joined: 17-Aug-2003
# Posted on: 30-Apr-2006 20:59:08   

Check the brand new v2 bits in the beta section and the shiny new EntityAdded event wink simple_smile

Frans Bouma | Lead developer LLBLGen Pro
Jeff M
User
Posts: 250
Joined: 04-Aug-2004
# Posted on: 01-May-2006 00:26:52   

Otis wrote:

Check the brand new v2 bits in the beta section and the shiny new EntityAdded event wink simple_smile

Ok! I've been waiting for this! Is it feasible to run the current version of LLBLGenPro side-by-side with the new beta version?

Jeff

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39928
Joined: 17-Aug-2003
# Posted on: 01-May-2006 08:38:43   

Yes, you can run them side by side simple_smile

There's one issue with preferences which are stored in the same file but I'll change that today.

Frans Bouma | Lead developer LLBLGen Pro