ISqlExecutionContext.cs 971 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // System.Data.Sql.ISqlExecutionContext
  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 ISqlExecutionContext : IDbExecutionContext, IDisposable, ISqlGetTypedData, IGetTypedData, ISqlSetTypedData
  13. {
  14. #region Properties
  15. ISqlConnection Connection { get; }
  16. SqlNotificationRequest Notification { get; set; }
  17. ISqlTransaction Transaction { get; set; }
  18. #endregion // Properties
  19. #region Methods
  20. ISqlReader ExecutePageReader (CommandBehavior behavior, int startRow, int pageSize);
  21. ISqlReader ExecuteReader ();
  22. ISqlReader ExecuteReader (CommandBehavior behavior);
  23. ISqlResultSet ExecuteResultSet (ResultSetOptions options);
  24. ISqlResultSet ExecuteResultSet (ResultSetOptions options, string cursorname);
  25. ISqlRecord ExecuteRow ();
  26. object ExecuteSqlScalar ();
  27. XmlReader ExecuteXmlReader ();
  28. #endregion // Methods
  29. }
  30. }
  31. #endif