home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1996 December
/
PCWKCD1296.iso
/
vjplusb
/
msdev
/
bin
/
ide
/
mfcapwz.dll
/
TEMPLATE
/
RECSET.H
< prev
next >
Wrap
C/C++ Source or Header
|
1996-07-12
|
1KB
|
52 lines
// $$recset_hfile$$.h : interface of the $$RECSET_CLASS$$ class
//
/////////////////////////////////////////////////////////////////////////////
$$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
};