I'm struggling to understand the best method for editing columns in SDE tables from a .Net application. My application reads rows from SDE, allows the user to modify the values in certain columns, and then writes the updated values back to SDE.
My current approach has been to create local DataTables in the application, load the records into those tables, update the values locally, and then use SQL update statements to update the values in SDE, all within an open version. I must be doing something wrong in the versioning part, though, as my application maintains a lock on the version even after closing the state for editing (though my data is being saved).
Am I way off here in my approach? Should I be doing this all through stored procedures on the Oracle side and calling them from my application? Should I be trying to use the C api (which I'm not at all familiar with)? What is everyone's preferred approach in these types of situations? Thanks.