SaveChangesSync()
- Last UpdatedJul 22, 2024
- 1 minute read
This method is similar to SaveChangesAsync() except that it runs synchronously.
Syntax
result SaveChangesSync()
Remarks
This method blocks the engine thread when the script itself is synchronous.
It is highly recommended that you use this method only in asynchronous scripts.
When you configure the asynchronous script, make sure that the TimeoutLimit value is large enough to accommodate the time that this method may take to run the command object.