odbckit.h

来自「The ROSETTA C++ library is a collection 」· C头文件 代码 · 共 40 行

H
40
字号
//-------------------------------------------------------------------// Author........: Aleksander 豩rn// Date..........: // Description...: // Revisions.....://===================================================================#ifndef __ODBCKIT_H__#define __ODBCKIT_H__#include <kernel/structures/attribute.h>//-------------------------------------------------------------------// Class prototypes.//===================================================================class CDatabase;//-------------------------------------------------------------------// Class.........: ODBCKit// Author........: Aleksander 豩rn// Date..........: // Description...: // Revisions.....://===================================================================class ODBCKit {private:	static bool RefineScales(CDatabase &database, const String &table, Vector(Attribute::Type) &types, Vector(int) &scales);public:	static bool GetTables(const CDatabase &database, Vector(String) &tables);	static bool GetColumns(CDatabase &database, const String &table, Vector(String) &names, Vector(Attribute::Type) &types, Vector(int) &scales);	static int  GetNoRecords(CDatabase &database, const String &table);};#endif

⌨️ 快捷键说明

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