Search Results for

    Show / Hide Table of Contents

    Interface IWithTransactions

    Extend your DAO interface with this to begin transactions without access to the connection. Pass the returned transaction as an IDbTransaction parameter to DAO methods.

    Namespace: Activout.DatabaseClient
    Assembly: Activout.DatabaseClient.dll
    Syntax
    public interface IWithTransactions

    Methods

    | Edit this page View Source

    BeginTransaction(IsolationLevel)

    Begins a transaction.

    Declaration
    IDbTransaction BeginTransaction(IsolationLevel isolationLevel = IsolationLevel.Unspecified)
    Parameters
    Type Name Description
    IsolationLevel isolationLevel

    The isolation level.

    Returns
    Type Description
    IDbTransaction

    The transaction. Commit or roll back and dispose it when done.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX