DataSource for Entity Framework in WPF
C1.Data.Transactions Namespace / ClientTransaction Class / ScopeDataContext Method
The object to wrap.

In This Topic
    ScopeDataContext Method
    In This Topic
    Wraps an object so the transaction scope is automatically opened when a value is being assigned to a property of the wrapped object.
    Syntax
    'Declaration
     
    Public Function ScopeDataContext( _
       ByVal entity As Object _
    ) As Object
    public object ScopeDataContext( 
       object entity
    )

    Parameters

    entity
    The object to wrap.

    Return Value

    The wrapped object.
    See Also