| Message |
Dear all
For multiuser editing, we would like to generate a unique id for the every new features. Say the rule is the maximum of the unique id (Other than ObjectID field plus one.
If we use IQueryDef object to get the MAX number, what will be the version that we are refering to? Pre-Editing Version, My Own Edit Session now or just the parent version?
Since SDE have versioning capability. If two or more editor users generate Unique ID at the same time in their edit session. Will they get the same number from IQueryDef?
Any workflow you can suggest to me?
I have some idea,I can leave the Unique Id generation to the Save Edit moment.
If we reconcile to the parent version when save edits, use IDifferenceCursor Object to find the Insert Feature and generate ID from their with a loop. It seems to me that it will be a way to achieve my requirement, however, any one have comments on the above or recommendation to me?
Thank you very much!
|