[]
        
(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)
Public Function ScopeDataContext(entity As Object) As Object
Parameters
Type Name Description
object entity

The object to wrap.

Returns
Type Description
object

The wrapped object.