Tables.h
资源名称:ISQL_src.zip [点击查看]
上传用户:jsxglz
上传日期:2007-01-03
资源大小:117k
文件大小:1k
源码类别:
SQL Server
开发平台:
Visual C++
- // Tables.h: interface for the CTables class.
- //
- #if !defined(AFX_TABLES_H__B429EFC4_93B3_11D2_BD3E_204C4F4F5020__INCLUDED_)
- #define AFX_TABLES_H__B429EFC4_93B3_11D2_BD3E_204C4F4F5020__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CTables - results from ::SQLTables()
- class CTables : public CRecordsetEx
- {
- public:
- CTables(CDatabase* pDatabase);
- DECLARE_DYNAMIC(CTables)
- // Field Data
- CString m_strTableQualifier;
- CString m_strTableOwner;
- CString m_strTableName;
- CString m_strTableType;
- CString m_strRemarks;
- // Operations
- BOOL Open(LPCSTR pszTableQualifier = NULL,
- LPCSTR pszTableOwner = NULL,
- LPCSTR pszTableName = NULL,
- LPCSTR pszColumnName = NULL,
- UINT nOpenType = forwardOnly);
- // Overrides
- virtual CString GetDefaultConnect();
- virtual CString GetDefaultSQL();
- virtual void DoFieldExchange(CFieldExchange*);
- // Implementation
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- };
- #endif // !defined(AFX_TABLES_H__B429EFC4_93B3_11D2_BD3E_204C4F4F5020__INCLUDED_)