Enum SaveFlags
- Namespace
- TabularEditor.TOMWrapper
- Assembly
- TOMWrapper.dll
Advanced options that can be used to control the behavior of a SaveChanges operation.
C#public enum SaveFlags
Fields
Name | Description |
---|---|
Default | Default SaveChanges behavior. All the pending model changes are packed in a batch containing Create/Alter/Delete/Rename/Process commands together with a SequencePoint command, that trigger immediate validation on the Server if used inside transaction, and sent to the Server. |
DelayValidation | Delay the validation in the SaveChanges. All the pending model changes are packed in a batch containing Create/Alter/Delete/Rename/Process commands and sent to the Server, but no SequencePoint command is sent, which will delay the validation of changes on the Server. This flag can only be used inside a transaction, as any operation outside a transaction will cause implicit transaction to be created and committed on Server, which will trigger the validation anyway. |
ForceValidation | Force the validation in the SaveChanges. Forcing a validation of any changes that were already saved to the server, but are still pending to be commited, by sending SequencePoint command. If the model has any pending local changes, they will be also sent along with SequencePoint command. This flag can only be used inside a transaction, as any operation outside a transaction will cause implicit transaction to be created and committed on Server, which will trigger the validation anyway. |