www.pudn.com > StuDAO.rar > StuDAOSet.h


// StuDAOSet.h : interface of the CStuDAOSet class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_STUDAOSET_H__472533EF_2C4E_11D6_9C7C_5254AB31B8A3__INCLUDED_) 
#define AFX_STUDAOSET_H__472533EF_2C4E_11D6_9C7C_5254AB31B8A3__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
class CStuDAOSet : public CDaoRecordset 
{ 
public: 
	CStuDAOSet(CDaoDatabase* pDatabase = NULL); 
	DECLARE_DYNAMIC(CStuDAOSet) 
 
// Field/Param Data 
	//{{AFX_FIELD(CStuDAOSet, CDaoRecordset) 
	long	m_StudentID; 
	CString	m_Name; 
	long	m_Age; 
	CString	m_Address; 
	long	m_ClassID; 
	//}}AFX_FIELD 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CStuDAOSet) 
	public: 
	virtual CString GetDefaultDBName();		// REVIEW:  Get a comment here 
	virtual CString GetDefaultSQL(); 	// default SQL for Recordset 
	virtual void DoFieldExchange(CDaoFieldExchange* pFX);	// RFX support 
	//}}AFX_VIRTUAL 
 
// Implementation 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_STUDAOSET_H__472533EF_2C4E_11D6_9C7C_5254AB31B8A3__INCLUDED_)