ITransactionalEntityQuickWrite Method
|
Creates a temporary
Write Session to quickly write something outside the current
Session and transaction.
This is a way to bypass the transaction and quickly put something into the content store.
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntaxvoid QuickWrite(
Action<IUserWriteSession> writeAction
)
Sub QuickWrite (
writeAction As Action(Of IUserWriteSession)
)
void QuickWrite(
Action<IUserWriteSession^>^ writeAction
)
abstract QuickWrite :
writeAction : Action<IUserWriteSession> -> unit
Parameters
- writeAction
- Type: SystemActionIUserWriteSession
Callback that performs the write action
Remarks
This is not a recommended way to perform normal writes as it can result in unanticipated document race conditions.
As such it should only be used in very specific circumstances.
RemarksDo not use this method if transactional saving is intended.
See Also