IDBQueryBase.cs 734 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OTSModelSharp.DTLBase
  7. {
  8. public interface IDBQueryBase
  9. {
  10. int GetColCount() ;
  11. string GetColName( int a_nColIndex) ;
  12. Type GetColType( int a_nColIndex) ;
  13. string GetColValue( int a_nColIndex) ;
  14. int GetColIntValue( int a_nColIndex, int a_nNullValue ) ;
  15. double GetColFloatValue( int a_nColIndex, double a_dNullValue =0) ;
  16. string GetColStringValue( int a_nColIndex, string a_sNullValue = "") ;
  17. byte[] GetColBlobValue( int a_nColIndex, int a_nLen) ;
  18. bool IsColNull( int a_nColIndex) ;
  19. bool IsValid() ;
  20. bool IsEOF() ;
  21. bool NextRow() ;
  22. void Close() ;
  23. }
  24. }