csybasedriver.h

来自「很好用的数据库连接组件」· C头文件 代码 · 共 48 行

H
48
字号
#ifndef CSYBASE_DRIVER_H#define CSYBASE_DRIVER_H#include <stdio.h>#include <stdlib.h>#include <string.h>#include <ctpublic.h>#include <bkpublic.h>#include "CSqlDriver.h" #include "CSqlResult.h"#include "CSqlBcpResult.h"# if defined(_REENTRANT)#include "mymutex.h"#include "mymutexpool_p.h"# endif#include "CSqlCtlibrary.h"#include "sybase_common.h"#include "sybase_msg.h"class CSYBASEDriverPrivate;class CSYBASEResultPrivate;class CSYBASEBcpResultPrivate;class CSYBASEDriver;//CSqlDriver 的 sybase实现class CSYBASEDriver:public CSqlDriver{	friend class CSYBASEResult;	friend class CSYBASEBcpResult;public:	CSYBASEDriver ();	~CSYBASEDriver ();	//打开一个驱动联接	bool open (const string & db = "",	     const string & user = "",	     const string & password = "",	     const string & host = "",	     const string & appname = "", int port = -1);	void close ();		//关闭联接	CSqlQuery createQuery () const;	//返回基于此驱动的查询类	CSqlBcp createBcp () const;	//返回基于此驱动的bcp类	bool useDb (const string & db) const;	//应用db 数据库private:	CSYBASEDriverPrivate * thePrivate;	//私有类指针};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?