ISqlCommand.cs 975 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // System.Data.Sql.ISqlCommand
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // Copyright (C) Tim Coleman, 2003
  8. //
  9. #if NET_1_2
  10. using System.Xml;
  11. namespace System.Data.Sql {
  12. public interface ISqlCommand : IDbCommand, IDisposable
  13. {
  14. #region Properties
  15. ISqlConnection Connection { get; }
  16. SqlNotificationRequest Notification { get; set; }
  17. ISqlParameterCollection Parameters { get; }
  18. ISqlTransaction Transaction { get; set; }
  19. #endregion // Properties
  20. #region Methods
  21. ISqlParameter CreateParameter ();
  22. ISqlReader ExecutePageReader (CommandBehavior behavior, int startRow, int pageSize);
  23. ISqlReader ExecuteReader ();
  24. ISqlReader ExecuteReader (CommandBehavior behavior);
  25. ISqlResultSet ExecuteResultSet (ResultSetOptions options);
  26. ISqlResultSet ExecuteResultSet (ResultSetOptions options, string cursorname);
  27. ISqlRecord ExecuteRow ();
  28. object ExecuteSqlScalar ();
  29. XmlReader ExecuteXmlReader ();
  30. #endregion // Methods
  31. }
  32. }
  33. #endif