1234567891011121314151617181920 |
- #ifndef __DBINTREFACE_20150930__
- #define __DBINTREFACE_20150930__
- interface DBInterface
- {
- public:
- virtual BOOL ConnectToDataBase( IN LPCTSTR lpConnString = NULL ) = 0;
- virtual void DisConnectDataBase() = 0;
- virtual BOOL ExecuteSQL( IN LPCTSTR lpSQL ) = 0;
- virtual INT GetTblRecordCount(IN LPCTSTR lpTblName, IN LPCTSTR lpFilters) = 0;
- public:
- // Get table from db;
- virtual BOOL GetVersionInfo( OUT LPVOID lpVerInfo ) = 0;
- virtual BOOL GetNetShareInfo( OUT LPVOID lpNetShareInfo ) = 0;
- //virtual BOOL IncrementalBackup( OUT LPVOID lpBackup ) = 0;
- };
- #endif
|