// run a delete query instead of itterating over payments collection
SubSonic.Query qDelete = new SubSonic.Query( GenClass.Schema);
qDelete.QueryType = SubSonic.QueryType.Delete;
// add keys to delete accross
qDelete.WHERE( GenClass.Columns.aField, "aField value");
qDelete.Execute();
substitute your classes where needed. This is what I use to update and delete using subsonic.
I believe qDelete.AddUpdateSetting( field, value) will update your columns on the found set.
Found this in the forums awhile back. Your query type would be Update of course. GenClass is a Subsonic Generated Class, and istead of typing out the field names, I used my Subsonic object, so if I screw up my table schema names, I will get a compiler error and I keep the DB layer almost hidden from the presentation...mixed with the subsonic generated layer anyways.