DAODepartmentSet.h
上传用户:benben_wyd
上传日期:2010-02-26
资源大小:1229k
文件大小:1k
源码类别:

书籍源码

开发平台:

Visual C++

  1. // DAODepartmentSet.h : interface of the CDAODepartmentSet class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_DAODEPARTMENTSET_H__C75F6EEE_943A_11D2_9949_E8E2006C6048__INCLUDED_)
  5. #define AFX_DAODEPARTMENTSET_H__C75F6EEE_943A_11D2_9949_E8E2006C6048__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class CDAODepartmentSet : public CDaoRecordset
  10. {
  11. public:
  12. CDAODepartmentSet(CDaoDatabase* pDatabase = NULL);
  13. DECLARE_DYNAMIC(CDAODepartmentSet)
  14. // Field/Param Data
  15. //{{AFX_FIELD(CDAODepartmentSet, CDaoRecordset)
  16. CString m_DepartmentCode;
  17. CString m_DepartmentName;
  18. //}}AFX_FIELD
  19. // Overrides
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CDAODepartmentSet)
  22. public:
  23. virtual CString GetDefaultDBName(); // REVIEW:  Get a comment here
  24. virtual CString GetDefaultSQL();  // default SQL for Recordset
  25. virtual void DoFieldExchange(CDaoFieldExchange* pFX); // RFX support
  26. //}}AFX_VIRTUAL
  27. // Implementation
  28. #ifdef _DEBUG
  29. virtual void AssertValid() const;
  30. virtual void Dump(CDumpContext& dc) const;
  31. #endif
  32. };
  33. //{{AFX_INSERT_LOCATION}}
  34. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  35. #endif // !defined(AFX_DAODEPARTMENTSET_H__C75F6EEE_943A_11D2_9949_E8E2006C6048__INCLUDED_)