home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / labs / c13 / lab02 / baseline / employeepayset.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-20  |  1.1 KB  |  44 lines

  1. // EmployeePaySet.h : interface of the CEmployeePaySet class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #ifndef _CEmployeePaySet_H
  5. #define _CEmployeePaySet_H
  6.  
  7. class CEmployeePaySet : public CRecordset
  8. {
  9. public:
  10.     CEmployeePaySet(CDatabase* pDatabase = NULL);
  11.     DECLARE_DYNAMIC(CEmployeePaySet)
  12.  
  13. // Field/Param Data
  14.     //{{AFX_FIELD(CEmployeePaySet, CRecordset)
  15.     long    m_Employee_Number;
  16.     CString    m_Last_Name;
  17.     CString    m_First_Name;
  18.     int    m_Department__;
  19.     int    m_Employee_Pay_Type;
  20.     double    m_Hours;
  21.     double    m_Hourly_Rate;
  22.     double    m_Weekly_Salary;
  23.     double    m_Sales_Bonus_Rate;
  24.     double    m_Weekly_Sales;
  25.     //}}AFX_FIELD
  26.  
  27. // Overrides
  28.     // ClassWizard generated virtual function overrides
  29.     //{{AFX_VIRTUAL(CEmployeePaySet)
  30.     public:
  31.     virtual CString GetDefaultConnect();    // Default connection string
  32.     virtual CString GetDefaultSQL();     // default SQL for Recordset
  33.     virtual void DoFieldExchange(CFieldExchange* pFX);    // RFX support
  34.     //}}AFX_VIRTUAL
  35.  
  36. // Implementation
  37. #ifdef _DEBUG
  38.     virtual void AssertValid() const;
  39.     virtual void Dump(CDumpContext& dc) const;
  40. #endif
  41.  
  42. };
  43.  
  44. #endif //Already included