ISqlRecord.cs 637 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // System.Data.Sql.ISqlRecord
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // Copyright (C) Tim Coleman, 2003
  8. //
  9. #if NET_1_2
  10. namespace System.Data.Sql {
  11. public interface ISqlRecord : ISqlGetTypedData, IGetTypedData
  12. {
  13. #region Properties
  14. int FieldCount { get; }
  15. object this [int reader] { get; }
  16. object this [string writer] { get; }
  17. #endregion // Properties
  18. #region Methods
  19. string GetDataTypeName (int i);
  20. Type GetFieldType (int i);
  21. string GetName (int i);
  22. int GetOrdinal (string name);
  23. int GetSqlValues (object[] values);
  24. int GetValues (object[] values);
  25. #endregion // Methods
  26. }
  27. }
  28. #endif