Beispiel #1
0
        public static TransactedConnection CreateTransactedConnection(IsolationLevel level)
        {
            TransactedConnection transactedConnection = new TransactedConnection(new SqlConnection(_connectionString), level);

            return(transactedConnection);
        }
Beispiel #2
0
        public static TransactedConnection CreateTransactedConnection()
        {
            TransactedConnection transactedConnection = new TransactedConnection(new SqlConnection(_connectionString));

            return(transactedConnection);
        }