//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Microsoft
// Microsoft
//------------------------------------------------------------------------------
namespace System.Data.Common {
using System;
using System.Data;
public abstract class DbTransaction : MarshalByRefObject, IDbTransaction { // V1.2.3300
protected DbTransaction() : base() {
}
public DbConnection Connection {
get {
return DbConnection;
}
}
IDbConnection IDbTransaction.Connection {
get {
return DbConnection;
}
}
abstract protected DbConnection DbConnection {
get;
}
abstract public IsolationLevel IsolationLevel {
get;
}
abstract public void Commit();
public void Dispose() {
Dispose(true);
}
protected virtual void Dispose(bool disposing) {
}
abstract public void Rollback();
}
}