IDbTransaction.cs 476 B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // System.Data.IDbTransaction.cs
  3. //
  4. // Author:
  5. // Christopher Podurgiel ([email protected])
  6. //
  7. // (C) Chris Podurgiel
  8. //
  9. namespace System.Data
  10. {
  11. /// <summary>
  12. /// Represents a transaction to be performed at a data source, and is implemented by .NET data providers that access relational databases.
  13. /// </summary>
  14. public interface IDbTransaction
  15. {
  16. void Commit()
  17. {
  18. }
  19. void Rollback()
  20. {
  21. }
  22. IsolationLevel IsolationLevel
  23. {
  24. get
  25. {
  26. }
  27. }
  28. }
  29. }