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

Namespace:  C1.Data.Transactions
Assembly:  C1.Silverlight.Data.Entity (in C1.Silverlight.Data.Entity.dll)

Syntax

C#
public Object ScopeDataContext(
	Object entity
)
Visual Basic
Public Function ScopeDataContext ( _
	entity As Object _
) As Object

Parameters

entity
Type: System..::..Object
The object to wrap.

Return Value

The wrapped object.

See Also