ComponentOne Data Source for Entity Framework
C1.LiveLinq Namespace / ITransaction Interface / Scope Method

In This Topic
    Scope Method (ITransaction)
    In This Topic
    Opens a transaction scope.
    Syntax
    'Declaration
     
    
    Function Scope() As System.IDisposable
    System.IDisposable Scope()

    Return Value

    An instance of System.IDisposable that will close the scope when its System.IDisposable.Dispose method is called.
    Remarks

    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