shippers.cpp
来自「Data Replication Prototype Using ADO」· C++ 代码 · 共 40 行
CPP
40 行
// Shippers.cpp: implementation of the CShippers class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "ETLdemo.h"
#include "Shippers.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
LPCWSTR CShippers::g_szTableName = L"Shippers";
CShippers::CShippers(CTableHolder* pConn)
: CDBTable(pConn)
{
m_pstrTableName = g_szTableName;
static AtomDesc g_desc[] =
{
{ fltAutoNumber, L"ShipperID" },
{ fltUniqueIndex, L"CompanyName" },
{ fltUniqueIndex, L"Phone" },
};
m_pAtomDesc = g_desc;
m_nAtomCount = sizeof(g_desc) / sizeof(g_desc[0]);
}
CShippers::~CShippers()
{
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?