employeeset.h

来自「Visual C++ 2005的源代码」· C头文件 代码 · 共 44 行

H
44
字号
// EmployeeSet.h : Declaration of the CEmployeeSet

#pragma once

// code generated on 29 November 2005, 14:36

class CEmployeeSet : public CRecordset
{
public:
	CEmployeeSet(CDatabase* pDatabase = NULL);
	DECLARE_DYNAMIC(CEmployeeSet)

// Field/Param Data

// The string types below (if present) reflect the actual data type of the
// database field - CStringA for ANSI datatypes and CStringW for Unicode
// datatypes. This is to prevent the ODBC driver from performing potentially
// unnecessary conversions.  If you wish, you may change these members to
// CString types and the ODBC driver will perform all necessary conversions.
// (Note: You must use an ODBC driver version that is version 3.5 or greater
// to support both Unicode and these conversions).

	long	m_EmployeeID;	//Number automatically assigned to new employee.
	CString	m_LastName;
	CString	m_FirstName;

// Overrides
	// Wizard generated virtual function overrides
	public:
	virtual CString GetDefaultConnect();	// Default connection string

	virtual CString GetDefaultSQL(); 	// default SQL for Recordset
	virtual void DoFieldExchange(CFieldExchange* pFX);	// RFX support

// Implementation
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

};


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?