AllowRemove default

Posts   
 
    
Fishy avatar
Fishy
User
Posts: 392
Joined: 15-Apr-2004
# Posted on: 04-May-2005 04:50:10   

Hi All,

This one really threw me. I was binding an entitycollection to a grid and for some reason I could not get the delete to work. I spent hours working with the grid but to no avail. rage

Turns out that the AllowRemove boolean on the entitycollection is set the false. I set it to true and delete now works. simple_smile

I'm using MSDE version of sql server. frowning

Was this changed? I don't remember having this problem 6 months ago (the last time I worked on this project)?

Thanks.

Fishy

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 04-May-2005 08:55:50   

It has always been false by default. simple_smile

Frans Bouma | Lead developer LLBLGen Pro