home *** CD-ROM | disk | FTP | other *** search
- // $$recset_hfile$$.h : interface of the $$RECSET_CLASS$$ class
- //
- /////////////////////////////////////////////////////////////////////////////
-
- #if !defined($$FILE_NAME_SYMBOL$$_INCLUDED_)
- #define $$FILE_NAME_SYMBOL$$_INCLUDED_
-
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
-
- $$IF(DAO)
- class $$RECSET_CLASS$$ : public CDaoRecordset
- $$ELSE
- class $$RECSET_CLASS$$ : public CRecordset
- $$ENDIF
- {
- public:
- $$IF(DAO)
- $$RECSET_CLASS$$(CDaoDatabase* pDatabase = NULL);
- $$ELSE
- $$RECSET_CLASS$$(CDatabase* pDatabase = NULL);
- $$ENDIF
- DECLARE_DYNAMIC($$RECSET_CLASS$$)
-
- // Field/Param Data
- $$IF(DAO)
- //{{AFX_FIELD($$RECSET_CLASS$$, CDaoRecordset)
- $$ELSE
- //{{AFX_FIELD($$RECSET_CLASS$$, CRecordset)
- $$ENDIF
- $$RECSET_VARS$$
- //}}AFX_FIELD$$PARAM_VARS$$
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL($$RECSET_CLASS$$)
- public:
- $$IF(DAO)
- virtual CString GetDefaultDBName(); // REVIEW: Get a comment here
- $$ELSE
- virtual CString GetDefaultConnect(); // Default connection string
- $$ENDIF
- virtual CString GetDefaultSQL(); // default SQL for Recordset
- $$IF(DAO)
- virtual void DoFieldExchange(CDaoFieldExchange* pFX); // RFX support
- $$ELSE
- virtual void DoFieldExchange(CFieldExchange* pFX); // RFX support
- $$ENDIF
- //}}AFX_VIRTUAL
-
- // Implementation
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
- };
-
- //{{AFX_INSERT_LOCATION}}
- // $$INSERT_LOCATION_COMMENT$$
-
- #endif // !defined($$FILE_NAME_SYMBOL$$_INCLUDED_)
-