| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- //
- // System.Data.SqlClient.SqlTransaction.cs
- //
- // Author:
- // Rodrigo Moya ([email protected])
- //
- // (C) Ximian, Inc.
- //
- namespace System.Data.SqlClient
- {
- /// <summary>
- /// Represents a transaction to be performed on a SQL database.
- /// </summary>
- public class SqlTransaction : IDbTransaction
- {
- protected SqlConnection connection = null;
- public SqlTransaction (SqlConnection cnc)
- {
- connection = cnc;
- }
- [MonoTODO]
- public void Commit ()
- {
- throw new NotImplementedException ();
- }
- [MonoTODO]
- void Rollback()
- {
- throw new NotImplementedException ();
- }
- public SqlConnection Connection
- {
- get { return connection; }
- }
- [MonoTODO]
- public IsolationLevel IsolationLevel
- {
- get { throw new NotImplementedException (); }
- }
- }
- }
|