TypesTable.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #if !defined(AFX_TYPESTABLE_H__41C712E1_75EC_4385_ABA3_9749852F63FD__INCLUDED_)
  2. #define AFX_TYPESTABLE_H__41C712E1_75EC_4385_ABA3_9749852F63FD__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // TypesTable.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CTypesTable DAO recordset
  10. class CTypesTable : public CDaoRecordset
  11. {
  12. public:
  13. CTypesTable(CDaoDatabase* pDatabase = NULL);
  14. DECLARE_DYNAMIC(CTypesTable)
  15. // Field/Param Data
  16. //{{AFX_FIELD(CTypesTable, CDaoRecordset)
  17. long m_ID;
  18. CString m_TypeText;
  19. //}}AFX_FIELD
  20. public:
  21. BOOL DeleteAll();
  22. // Overrides
  23. // ClassWizard generated virtual function overrides
  24. //{{AFX_VIRTUAL(CTypesTable)
  25. public:
  26. virtual CString GetDefaultDBName(); // Default database name
  27. virtual CString GetDefaultSQL(); // Default SQL for Recordset
  28. virtual void DoFieldExchange(CDaoFieldExchange* pFX); // RFX support
  29. virtual void Open(int nOpenType = AFX_DAO_USE_DEFAULT_TYPE, LPCTSTR lpszSql = NULL, int nOptions = 0);
  30. //}}AFX_VIRTUAL
  31. // Implementation
  32. #ifdef _DEBUG
  33. virtual void AssertValid() const;
  34. virtual void Dump(CDumpContext& dc) const;
  35. #endif
  36. };
  37. //{{AFX_INSERT_LOCATION}}
  38. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  39. #endif // !defined(AFX_TYPESTABLE_H__41C712E1_75EC_4385_ABA3_9749852F63FD__INCLUDED_)