DataSource for Entity Framework in WPF
C1.Data.Transactions Namespace / ClientTransaction Class / Scope Method

In This Topic
    Scope Method (ClientTransaction)
    In This Topic
    Opens the transaction scope.
    Public Function Scope() As IDisposable
    public IDisposable Scope()

    Return Value

    An instance of an System.IDisposable that will close the scope when its System.IDisposable.Dispose method is called.
    The ClientTransaction.State is not C1.LiveLinq.TransactionState.Open.

    The transaction tracks changes only when they are made inside an open scope.

    Calling System.IDisposable.Dispose on the return value closes the scope.

    See Also