⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sqlbasewhere.h

📁 简单的ODBC访问接口
💻 H
字号:

#ifndef _SQLBASEWHERE_H__
#define _SQLBASEWHERE_H__

#include "SQLBase.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CSQLBaseWhere : public CSQLBase
{
public:
	CSQLBaseWhere();
	virtual ~CSQLBaseWhere();

   void SetWhere( const char* a_szWhere );
   void SetWhereOr( const char* a_szWhere );
   void SetWhere( const char* columnName, int value );
   void SetWhere( const char* columnName, long value, char a_DataType=LONG );
   void SetWhere( const char* columnName, double value );
   void SetWhere( const char* columnName, bool isValidTime, int month, int day, int year );
   void SetWhere( const char* columnName, const char* value, char a_DataType=STRING, bool a_bUseLike=false );
   const char* GetWhere() { return _where.c_str(); }
   const char* GetStatement();
   void ResetContent();
protected:
   std::string _where;
   std::string _temp;
};

#endif // !defined _SQLBASEWHERE_H__

⌨️ 快捷键说明

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