I've been trying the software out and I really like it. however I'm getting an error when I delete records.
Following the Doc examples I've done this
foreach (Encounter_Proc_Master en_pm2 in en_pm_col)
{
en_pm2.Proc_Master.Delete();
en_pm2.Delete();
}
It goes through the loop the first time without a problem, However on the next pass thru, it tells me the collection has changed and the indexer is not working. Then it bails.
My question is how do I delete rows from a collection and not have this issue?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I've been trying the software out and I really like it. however I'm getting an error when I delete records.
Following the Doc examples I've done this
foreach (Encounter_Proc_Master en_pm2 in en_pm_col)
{
en_pm2.Proc_Master.Delete();
en_pm2.Delete();
}
It goes through the loop the first time without a problem, However on the next pass thru, it tells me the collection has changed and the indexer is not working. Then it bails.
My question is how do I delete rows from a collection and not have this issue?
while ( students.Count > 0 )
{
students[0].Delete();
}
Thanks,