[]
        
(Showing Draft Content)

C1.Data.Transactions.ClientTransaction.ScopeDataContext

ScopeDataContext Method

ScopeDataContext(object)

Wraps an object so the transaction scope is automatically opened when a value is being assigned to a property of the wrapped object.

Declaration
public object ScopeDataContext(object entity)
Parameters
Type Name Description
object entity

The object to wrap.

Returns
Type Description
object

The wrapped object.