Merge pull request #2250 from esdrubal/master
[mono.git] / mcs / class / referencesource / System.Data / System / Data / IDataReader.cs
1 //------------------------------------------------------------------------------
2 // <copyright file="IDataReader.cs" company="Microsoft">
3 //      Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 // <owner current="true" primary="true">markash</owner>
6 // <owner current="true" primary="false">laled</owner>
7 //------------------------------------------------------------------------------
8
9 namespace System.Data {
10     using System;
11
12     public interface IDataReader: IDisposable, IDataRecord {
13
14         int Depth {
15             get;
16         }
17
18         bool IsClosed {
19             get;
20         }
21
22         int RecordsAffected {
23             get;
24         }
25
26         void Close();
27
28         DataTable GetSchemaTable();
29
30         bool NextResult();
31
32         bool Read();
33     }
34 }