Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
|
You can't change the contents of an enumeration...that is just .NET. The reason you don't flat out get an exception when using the GetEnumerable is because the GetEnumerable returns unique instances of the BO...so even though you are changing the collection it is somewhat wrapped...but you will never get the records deleted. But you can delete a lot of different ways, create an array of the PKs to delete and then enumerate that collection, create a shared method to delete for you, etc. At some point we may add another overload to the BO that allows you to pass a "WhereClause" like the Seek method for a delete. But for now those are some options.
|