home *** CD-ROM | disk | FTP | other *** search
- // FastOrdersDetail.h : header file
- //
- // This file is part of Microsoft SQL Server online documentation.
- // Copyright (C) 1992-1997 Microsoft Corporation. All rights reserved.
- //
- // This source code is an intended supplement to the Microsoft SQL
- // Server online references and related electronic documentation.
-
- /////////////////////////////////////////////////////////////////////////////
- // CFastOrdersDetail recordset
- class CFastOrdersDetail : public CRecordset
- {
- public:
- CFastOrdersDetail(CDatabase* pDatabase = NULL);
- DECLARE_DYNAMIC(CFastOrdersDetail)
-
- // Field/Param Data
- //{{AFX_FIELD(CFastOrdersDetail, CRecordset)
- //}}AFX_FIELD
- CString m_strProductName;
- CString m_strUnitPrice;
- int m_nQuantity;
- float m_nDiscount;
- CString m_strExtendPrice;
- long m_nOrderID;
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CFastOrdersDetail)
- public:
- virtual CString GetDefaultConnect(); // Default connection string
- virtual CString GetDefaultSQL(); // Default SQL for Recordset
- virtual void DoFieldExchange(CFieldExchange* pFX); // RFX support
- virtual BOOL Open(UINT nOpenType = snapshot, LPCTSTR lpszSql = NULL, DWORD dwOptions = none);
- //}}AFX_VIRTUAL
-
- // Implementation
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- };
-