2004-05-15 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.Data / System.Data / IDataReader.cs
1 //
2 // System.Data.IDataReader.cs
3 //
4 // Author:
5 //   Christopher Podurgiel (cpodurgiel@msn.com)
6 //
7 // (C) Chris Podurgiel
8 //
9
10 namespace System.Data
11 {
12         /// <summary>
13         /// Provides a means of reading one or more forward-only streams of result sets obtained by executing a command at a data source, and is implemented by .NET data providers that access relational databases.
14         /// </summary>
15         public interface IDataReader  : IDisposable, IDataRecord
16         {
17                 void Close();
18                 
19                 DataTable GetSchemaTable();
20                 
21                 bool NextResult();
22
23                 bool Read();
24
25                 int Depth{get;}
26
27                 bool IsClosed{get;}
28
29                 int RecordsAffected{get;}
30
31
32         }
33 }