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.
    Public Function ScopeDataContext( _
       ByVal entity As Object _
    ) As Object
    public object ScopeDataContext( 
       object entity


    The object to wrap.

    Return Value

    The wrapped object.
    See Also