IDataReader.cs 794 B

12345678910111213141516171819202122232425262728293031323334
  1. //------------------------------------------------------------------------------
  2. // <copyright file="IDataReader.cs" company="Microsoft">
  3. // Copyright (c) Microsoft Corporation. All rights reserved.
  4. // </copyright>
  5. // <owner current="true" primary="true">[....]</owner>
  6. // <owner current="true" primary="false">[....]</owner>
  7. //------------------------------------------------------------------------------
  8. namespace System.Data {
  9. using System;
  10. public interface IDataReader: IDisposable, IDataRecord {
  11. int Depth {
  12. get;
  13. }
  14. bool IsClosed {
  15. get;
  16. }
  17. int RecordsAffected {
  18. get;
  19. }
  20. void Close();
  21. DataTable GetSchemaTable();
  22. bool NextResult();
  23. bool Read();
  24. }
  25. }