home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 32 / IOPROG_32.ISO / SOFT / SqlEval7 / devtools / samples / ODBC / mfcperf / foset.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-20  |  1.3 KB  |  43 lines

  1. // FastOrdersSet.h : header file
  2. //
  3. // This file is part of Microsoft SQL Server online documentation.
  4. // Copyright (C) 1992-1997 Microsoft Corporation. All rights reserved.
  5. //
  6. // This source code is an intended supplement to the Microsoft SQL
  7. // Server online references and related electronic documentation.
  8.  
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CFastOrdersSet recordset
  11. class CFastOrdersSet : public CRecordset
  12. {
  13. public:
  14.     CFastOrdersSet(CDatabase* pDatabase = NULL);
  15.     DECLARE_DYNAMIC(CFastOrdersSet)
  16.  
  17. // Field/Param Data
  18.     //{{AFX_FIELD(CFastOrdersSet, CRecordset)
  19.     //}}AFX_FIELD
  20.     long    m_nOrderID;
  21.     CTime   m_timeOrder;
  22.     CTime   m_timeRequired;
  23.     CTime   m_timeShipped;
  24.     CString m_strCustID;
  25.  
  26.  
  27. // Overrides
  28.     // ClassWizard generated virtual function overrides
  29.     //{{AFX_VIRTUAL(CFastOrdersSet)
  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.     virtual BOOL Open(UINT nOpenType = snapshot, LPCTSTR lpszSql = NULL, DWORD dwOptions = none);
  35.     //}}AFX_VIRTUAL
  36.  
  37. // Implementation
  38. #ifdef _DEBUG
  39.     virtual void AssertValid() const;
  40.     virtual void Dump(CDumpContext& dc) const;
  41. #endif
  42. };
  43.