// // System.Data.Sql.ISqlCommand // // Author: // Tim Coleman (tim@timcoleman.com) // // Copyright (C) Tim Coleman, 2003 // #if NET_2_0 using System.Xml; namespace System.Data.Sql { public interface ISqlCommand : IDbCommand, IDisposable { #region Properties ISqlConnection Connection { get; } SqlNotificationRequest Notification { get; set; } ISqlParameterCollection Parameters { get; } ISqlTransaction Transaction { get; set; } #endregion // Properties #region Methods ISqlParameter CreateParameter (); ISqlReader ExecutePageReader (CommandBehavior behavior, int startRow, int pageSize); ISqlReader ExecuteReader (); ISqlReader ExecuteReader (CommandBehavior behavior); ISqlResultSet ExecuteResultSet (ResultSetOptions options); ISqlResultSet ExecuteResultSet (ResultSetOptions options, string cursorname); ISqlRecord ExecuteRow (); object ExecuteSqlScalar (); XmlReader ExecuteXmlReader (); #endregion // Methods } } #endif