Click or drag to resize

MvComponentBeginC2STransaction Method

Initializes a component-to-server transaction.

Namespace:  RW.Server.Component
Assembly:  RW.Server.Component (in RW.Server.Component.dll) Version: 6.5.0.0 (6.5.0.0)
Syntax
public virtual int BeginC2STransaction()

Return Value

Type: Int32
The transaction identifier or 0 if no component-to-server transaction is currently opened.
Remarks

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.

See Also