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

  1. // SlowOrdersDetail.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. // CSlowOrdersDetail recordset
  11. class CSlowOrdersDetail : public CRecordset
  12. {
  13. public:
  14.     CSlowOrdersDetail(CDatabase* pDatabase = NULL);
  15.     DECLARE_DYNAMIC(CSlowOrdersDetail)
  16.  
  17. // Field/Param Data
  18.     //{{AFX_FIELD(CSlowOrdersDetail, CRecordset)
  19.     CString    m_UnitPrice;
  20.     long    m_Quantity;
  21.     CString    m_Discount;
  22.     CString    m_ProductName;
  23.     //}}AFX_FIELD
  24.  
  25.  
  26. // Overrides
  27.     // ClassWizard generated virtual function overrides
  28.     //{{AFX_VIRTUAL(CSlowOrdersDetail)
  29.     public:
  30.     virtual CString GetDefaultConnect();    // Default connection string
  31.     virtual CString GetDefaultSQL();    // Default SQL for Recordset
  32.     virtual void DoFieldExchange(CFieldExchange* pFX);  // RFX support
  33.     //}}AFX_VIRTUAL
  34.  
  35. // Implementation
  36. public:
  37.     CString     m_defFilter;
  38.     CString     m_strOrderID;
  39.  
  40. public:
  41. #ifdef _DEBUG
  42.     virtual void AssertValid() const;
  43.     virtual void Dump(CDumpContext& dc) const;
  44. #endif
  45. };
  46.