|
|
MvComponentBeginC2STransaction Method |
Namespace: RW.Server.Component
Assembly: RW.Server.Component (in RW.Server.Component.dll) Version: 7.0.0.0 (7.0.0.0)
Return Value
Type: Int32The transaction identifier or 0 if no component-to-server transaction is currently opened.
Category: Transaction control from the component to the server.
A local buffer is created to store the queries generated by the component, the representations or the representation objects until they are sent to the server. Actually, these queries are not sent until the CommitC2STransaction function is called. This function returns the number of the new transaction. If no transaction has been initialized, the beginC2STransaction and CommitC2STransaction functions are implicitly called each time a transaction on a representation is committed or the opening of a dynamic view is requested by the component.