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

  1. // FastOrdersDetail.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. // CFastOrdersDetail recordset
  11. class CFastOrdersDetail : public CRecordset
  12. {
  13. public:
  14.     CFastOrdersDetail(CDatabase* pDatabase = NULL);
  15.     DECLARE_DYNAMIC(CFastOrdersDetail)
  16.  
  17. // Field/Param Data
  18.     //{{AFX_FIELD(CFastOrdersDetail, CRecordset)
  19.     //}}AFX_FIELD
  20.     CString m_strProductName;
  21.     CString m_strUnitPrice;
  22.     int     m_nQuantity;
  23.     float   m_nDiscount;
  24.     CString m_strExtendPrice;
  25.     long    m_nOrderID;
  26.  
  27. // Overrides
  28.     // ClassWizard generated virtual function overrides
  29.     //{{AFX_VIRTUAL(CFastOrdersDetail)
  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.