Méthode | Description | |
---|---|---|
Cancel ( ) : void |
Cancel the update.
|
|
Save ( ) : void |
Update the tableid. Save is the final step in performing an insert or an update. The update is begun by calling creating an Update object and then by calling JetSetColumn or JetSetColumns one or more times to set the record state. Finally, Update is called to complete the update operation. Indexes are updated only by Update or and not during JetSetColumn or JetSetColumns |
|
Save ( byte bookmark, int bookmarkSize, int &actualBookmarkSize ) : void |
Update the tableid. Save is the final step in performing an insert or an update. The update is begun by calling creating an Update object and then by calling JetSetColumn or JetSetColumns one or more times to set the record state. Finally, Update is called to complete the update operation. Indexes are updated only by Update or and not during JetSetColumn or JetSetColumns |
|
SaveAndGotoBookmark ( ) : void |
Update the tableid and position the tableid on the record that was modified. This can be useful when inserting a record because by default the tableid remains in its old location. Save is the final step in performing an insert or an update. The update is begun by calling creating an Update object and then by calling JetSetColumn or JetSetColumns one or more times to set the record state. Finally, Update is called to complete the update operation. Indexes are updated only by Update or and not during JetSetColumn or JetSetColumns |
|
Update ( JET_SESID sesid, JET_TABLEID tableid, JET_prep prep ) : System |
Initializes a new instance of the Update class. This automatically begins an update. The update will be cancelled if not explicitly saved.
|
Méthode | Description | |
---|---|---|
ReleaseResource ( ) : void |
Called when the transaction is being disposed while active. This should rollback the transaction.
|
public Save ( byte bookmark, int bookmarkSize, int &actualBookmarkSize ) : void | ||
bookmark | byte | Returns the bookmark of the updated record. This can be null. |
bookmarkSize | int | The size of the bookmark buffer. |
actualBookmarkSize | int | Returns the actual size of the bookmark. |
Résultat | void |
public Update ( JET_SESID sesid, JET_TABLEID tableid, JET_prep prep ) : System | ||
sesid | JET_SESID | The session to start the transaction for. |
tableid | JET_TABLEID | The tableid to prepare the update for. |
prep | JET_prep | The type of update. |
Résultat | System |