sample1set.h
来自「Visual C 6.0 数据库开发技术与工程实践 Chapter 7」· C头文件 代码 · 共 49 行
H
49 行
// sample1Set.h : interface of the CSample1Set class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_SAMPLE1SET_H__90B6A986_96D3_4262_AEAA_2494E641E7E7__INCLUDED_)
#define AFX_SAMPLE1SET_H__90B6A986_96D3_4262_AEAA_2494E641E7E7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CSample1Set : public CDaoRecordset
{
public:
CSample1Set(CDaoDatabase* pDatabase = NULL);
DECLARE_DYNAMIC(CSample1Set)
// Field/Param Data
//{{AFX_FIELD(CSample1Set, CDaoRecordset)
long m_id;
CString m_name;
long m_department;
long m_age;
CString m_comment;
//}}AFX_FIELD
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSample1Set)
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_SAMPLE1SET_H__90B6A986_96D3_4262_AEAA_2494E641E7E7__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?