Saving a BO row by row?


Author
Message
Michel Levy
Michel Levy
StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)
Group: StrataFrame Users
Posts: 193, Visits: 9K
Due to complex checking on insert on server side (nested trees n:n checked by many CTE), I need to save a specific BO row by row, in a serialized transaction:
Save first row, and movenext only if result is Success... I need to Rollback on the first failure.

I know I can create a copy of that BO, then clear my BO, filter the copy on each row and copy currentview in original BO, and save each row (also another solution with snapshot), but is there another way, let say more simple, or more elegant?

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search