_recordset.h
资源名称:SQLVC.rar [点击查看]
上传用户:biney012
上传日期:2022-05-09
资源大小:4592k
文件大小:4k
源码类别:
数据库系统
开发平台:
Visual C++
- #if !defined(AFX__RECORDSET_H__82A29A3A_AB48_4249_9EEF_1BC3418C240B__INCLUDED_)
- #define AFX__RECORDSET_H__82A29A3A_AB48_4249_9EEF_1BC3418C240B__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
- // Dispatch interfaces referenced by this interface
- class CProperties;
- class CFields;
- /////////////////////////////////////////////////////////////////////////////
- // C_Recordset wrapper class
- class C_Recordset : public COleDispatchDriver
- {
- public:
- C_Recordset() {} // Calls COleDispatchDriver default constructor
- C_Recordset(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
- C_Recordset(const C_Recordset& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
- // Attributes
- public:
- // Operations
- public:
- CProperties GetProperties();
- long GetAbsolutePosition();
- void SetAbsolutePosition(long nNewValue);
- void SetRefActiveConnection(LPDISPATCH newValue);
- void SetActiveConnection(const VARIANT& newValue);
- VARIANT GetActiveConnection();
- BOOL GetBof();
- VARIANT GetBookmark();
- void SetBookmark(const VARIANT& newValue);
- long GetCacheSize();
- void SetCacheSize(long nNewValue);
- long GetCursorType();
- void SetCursorType(long nNewValue);
- BOOL GetEof();
- CFields GetFields();
- long GetLockType();
- void SetLockType(long nNewValue);
- long GetMaxRecords();
- void SetMaxRecords(long nNewValue);
- long GetRecordCount();
- void SetRefSource(LPDISPATCH newValue);
- void SetSource(LPCTSTR lpszNewValue);
- VARIANT GetSource();
- void AddNew(const VARIANT& FieldList, const VARIANT& Values);
- void CancelUpdate();
- void Close();
- void Delete(long AffectRecords);
- VARIANT GetRows(long Rows, const VARIANT& Start, const VARIANT& Fields);
- void Move(long NumRecords, const VARIANT& Start);
- void MoveNext();
- void MovePrevious();
- void MoveFirst();
- void MoveLast();
- void Open(const VARIANT& Source, const VARIANT& ActiveConnection, long CursorType, long LockType, long Options);
- void Requery(long Options);
- void Update(const VARIANT& Fields, const VARIANT& Values);
- long GetAbsolutePage();
- void SetAbsolutePage(long nNewValue);
- long GetEditMode();
- VARIANT GetFilter();
- void SetFilter(const VARIANT& newValue);
- long GetPageCount();
- long GetPageSize();
- void SetPageSize(long nNewValue);
- CString GetSort();
- void SetSort(LPCTSTR lpszNewValue);
- long GetStatus();
- long GetState();
- void UpdateBatch(long AffectRecords);
- void CancelBatch(long AffectRecords);
- long GetCursorLocation();
- void SetCursorLocation(long nNewValue);
- C_Recordset NextRecordset(VARIANT* RecordsAffected);
- BOOL Supports(long CursorOptions);
- long GetMarshalOptions();
- void SetMarshalOptions(long nNewValue);
- void Find(LPCTSTR Criteria, long SkipRecords, long SearchDirection, const VARIANT& Start);
- void Cancel();
- LPUNKNOWN GetDataSource();
- void SetRefDataSource(LPUNKNOWN newValue);
- void Save(LPCTSTR FileName, long PersistFormat);
- LPDISPATCH GetActiveCommand();
- void SetStayInSync(BOOL bNewValue);
- BOOL GetStayInSync();
- CString GetString(long StringFormat, long NumRows, LPCTSTR ColumnDelimeter, LPCTSTR RowDelimeter, LPCTSTR NullExpr);
- CString GetDataMember();
- void SetDataMember(LPCTSTR lpszNewValue);
- long CompareBookmarks(const VARIANT& Bookmark1, const VARIANT& Bookmark2);
- C_Recordset Clone(long LockType);
- void Resync(long AffectRecords, long ResyncValues);
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX__RECORDSET_H__82A29A3A_AB48_4249_9EEF_1BC3418C240B__INCLUDED_)