📄 infoset.cpp
字号:
m_BillCode = _T("");
m_BillContent = _T("");
m_nFields = 2;
//}}AFX_FIELD_INIT
m_nDefaultType = snapshot;
}
CString CBillContentInfoSet::GetDefaultConnect()
{
return _T("ODBC;DSN=酒店管理系统");
}
CString CBillContentInfoSet::GetDefaultSQL()
{
return _T("[BillContentInfo]");
}
void CBillContentInfoSet::DoFieldExchange(CFieldExchange* pFX)
{
//{{AFX_FIELD_MAP(CBillContentInfoSet)
pFX->SetFieldType(CFieldExchange::outputColumn);
RFX_Text(pFX, _T("[BillCode]"), m_BillCode);
RFX_Text(pFX, _T("[BillContent]"), m_BillContent);
//}}AFX_FIELD_MAP
}
/////////////////////////////////////////////////////////////////////////////
// CBillContentInfoSet diagnostics
#ifdef _DEBUG
void CBillContentInfoSet::AssertValid() const
{
CRecordset::AssertValid();
}
void CBillContentInfoSet::Dump(CDumpContext& dc) const
{
CRecordset::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CBillCheckoutInfoSet
IMPLEMENT_DYNAMIC(CBillCheckoutInfoSet, CRecordset)
CBillCheckoutInfoSet::CBillCheckoutInfoSet(CDatabase* pdb)
: CRecordset(pdb)
{
//{{AFX_FIELD_INIT(CBillCheckoutInfoSet)
m_BillCode = _T("");
m_HandCode = _T("");
m_Sum = _T("");
m_nFields = 5;
//}}AFX_FIELD_INIT
m_nDefaultType = snapshot;
}
CString CBillCheckoutInfoSet::GetDefaultConnect()
{
return _T("ODBC;DSN=酒店管理系统");
}
CString CBillCheckoutInfoSet::GetDefaultSQL()
{
return _T("[BillCheckoutInfo]");
}
void CBillCheckoutInfoSet::DoFieldExchange(CFieldExchange* pFX)
{
//{{AFX_FIELD_MAP(CBillCheckoutInfoSet)
pFX->SetFieldType(CFieldExchange::outputColumn);
RFX_Text(pFX, _T("[BillCode]"), m_BillCode);
RFX_Text(pFX, _T("[HandCode]"), m_HandCode);
RFX_Date(pFX, _T("[StartTime]"), m_StartTime);
RFX_Date(pFX, _T("[EndTime]"), m_EndTime);
RFX_Text(pFX, _T("[Sum]"), m_Sum);
//}}AFX_FIELD_MAP
}
/////////////////////////////////////////////////////////////////////////////
// CBillCheckoutInfoSet diagnostics
#ifdef _DEBUG
void CBillCheckoutInfoSet::AssertValid() const
{
CRecordset::AssertValid();
}
void CBillCheckoutInfoSet::Dump(CDumpContext& dc) const
{
CRecordset::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// CDestineRoomSet
IMPLEMENT_DYNAMIC(CDestineRoomSet, CRecordset)
CDestineRoomSet::CDestineRoomSet(CDatabase* pdb)
: CRecordset(pdb)
{
//{{AFX_FIELD_INIT(CDestineRoomSet)
m_BillCode = _T("");
m_Certificate = _T("");
m_CeritifyCode = _T("");
m_DestinerName = _T("");
m_DestinerSex = _T("");
m_DestineMoney = _T("");
m_DestineTime = _T("");
m_DestineEndTime = _T("");
m_DestineRoomCode = _T("");
m_nFields = 9;
//}}AFX_FIELD_INIT
m_nDefaultType = snapshot;
}
CString CDestineRoomSet::GetDefaultConnect()
{
return _T("ODBC;DSN=酒店管理系统");
}
CString CDestineRoomSet::GetDefaultSQL()
{
return _T("[RoomDestine]");
}
void CDestineRoomSet::DoFieldExchange(CFieldExchange* pFX)
{
//{{AFX_FIELD_MAP(CDestineRoomSet)
pFX->SetFieldType(CFieldExchange::outputColumn);
RFX_Text(pFX, _T("[BillCode]"), m_BillCode);
RFX_Text(pFX, _T("[Certificate]"), m_Certificate);
RFX_Text(pFX, _T("[CeritifyCode]"), m_CeritifyCode);
RFX_Text(pFX, _T("[DestinerName]"), m_DestinerName);
RFX_Text(pFX, _T("[DestinerSex]"), m_DestinerSex);
RFX_Text(pFX, _T("[DestineMoney]"), m_DestineMoney);
RFX_Text(pFX, _T("[DestineTime]"), m_DestineTime);
RFX_Text(pFX, _T("[DestineEndTime]"), m_DestineEndTime);
RFX_Text(pFX, _T("[DestineRoomCode]"), m_DestineRoomCode);
//}}AFX_FIELD_MAP
}
/////////////////////////////////////////////////////////////////////////////
// CDestineRoomSet diagnostics
#ifdef _DEBUG
void CDestineRoomSet::AssertValid() const
{
CRecordset::AssertValid();
}
void CDestineRoomSet::Dump(CDumpContext& dc) const
{
CRecordset::Dump(dc);
}
#endif //_DEBUG*/
/////////////////////////////////////////////////////////////////////////////
// COtherInfoSet
IMPLEMENT_DYNAMIC(COtherInfoSet, CRecordset)
COtherInfoSet::COtherInfoSet(CDatabase* pdb)
: CRecordset(pdb)
{
//{{AFX_FIELD_INIT(COtherInfoSet)
m_name = _T("");
m_content = _T("");
m_description = _T("");
m_nFields = 3;
//}}AFX_FIELD_INIT
m_nDefaultType = snapshot;
}
CString COtherInfoSet::GetDefaultConnect()
{
return _T("ODBC;DSN=论文管理系统");
}
CString COtherInfoSet::GetDefaultSQL()
{
return _T("[confInfo]");
}
void COtherInfoSet::DoFieldExchange(CFieldExchange* pFX)
{
//{{AFX_FIELD_MAP(COtherInfoSet)
pFX->SetFieldType(CFieldExchange::outputColumn);
RFX_Text(pFX, _T("[name]"), m_name);
RFX_Text(pFX, _T("[content]"), m_content);
RFX_Text(pFX, _T("[description]"), m_description);
//}}AFX_FIELD_MAP
}
/////////////////////////////////////////////////////////////////////////////
// COtherInfoSet diagnostics
#ifdef _DEBUG
void COtherInfoSet::AssertValid() const
{
CRecordset::AssertValid();
}
void COtherInfoSet::Dump(CDumpContext& dc) const
{
CRecordset::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CStuInfo
IMPLEMENT_DYNAMIC(CStuInfo, CRecordset)
CStuInfo::CStuInfo(CDatabase* pdb)
: CRecordset(pdb)
{
//{{AFX_FIELD_INIT(CStuInfo)
m_stuid = _T("");
m_stuname = _T("");
m_majorid = 0;
m_grade = 0;
m_class = 0;
m_type = 0;
m_description = _T("");
m_gradeclass = _T("");
m_nFields = 8;
//}}AFX_FIELD_INIT
m_nDefaultType = snapshot;
}
CString CStuInfo::GetDefaultConnect()
{
return _T("ODBC;DSN=论文管理系统");
}
CString CStuInfo::GetDefaultSQL()
{
return _T("[stuInfo]");
}
void CStuInfo::DoFieldExchange(CFieldExchange* pFX)
{
//{{AFX_FIELD_MAP(CStuInfo)
pFX->SetFieldType(CFieldExchange::outputColumn);
RFX_Text(pFX, _T("[stuid]"), m_stuid);
RFX_Text(pFX, _T("[stuname]"), m_stuname);
RFX_Long(pFX, _T("[majorid]"), m_majorid);
RFX_Long(pFX, _T("[grade]"), m_grade);
RFX_Long(pFX, _T("[class]"), m_class);
RFX_Long(pFX, _T("[type]"), m_type);
RFX_Text(pFX, _T("[description]"), m_description);
RFX_Text(pFX, _T("[gradeclass]"), m_gradeclass);
//}}AFX_FIELD_MAP
}
/////////////////////////////////////////////////////////////////////////////
// CStuInfo diagnostics
#ifdef _DEBUG
void CStuInfo::AssertValid() const
{
CRecordset::AssertValid();
}
void CStuInfo::Dump(CDumpContext& dc) const
{
CRecordset::Dump(dc);
}
#endif //_DEBUG
/*
/////////////////////////////////////////////////////////////////////////////
// CThesisInfo
IMPLEMENT_DYNAMIC(CThesisInfo, CRecordset)
CThesisInfo::CThesisInfo(CDatabase* pdb)
: CRecordset(pdb)
{
//{{AFX_FIELD_INIT(CThesisInfo)
m_stuid = _T("");
m_name = _T("");
m_chkey1 = _T("");
m_chkey2 = _T("");
m_chkey3 = _T("");
m_chkey4 = _T("");
m_chkey5 = _T("");
m_enkey1 = _T("");
m_enkey2 = _T("");
m_enkey3 = _T("");
m_enkey4 = _T("");
m_enkey5 = _T("");
m_type = _T("");
m_teacher = _T("");
m_score = 0;
m_description = _T("");
m_nFields = 16;
//}}AFX_FIELD_INIT
m_nDefaultType = snapshot;
}
CString CThesisInfo::GetDefaultConnect()
{
return _T("ODBC;DSN=论文管理系统");
}
CString CThesisInfo::GetDefaultSQL()
{
return _T("[thesisInfo]");
}
void CThesisInfo::DoFieldExchange(CFieldExchange* pFX)
{
//{{AFX_FIELD_MAP(CThesisInfo)
pFX->SetFieldType(CFieldExchange::outputColumn);
RFX_Text(pFX, _T("[stuid]"), m_stuid);
RFX_Text(pFX, _T("[name]"), m_name);
RFX_Text(pFX, _T("[chkey1]"), m_chkey1);
RFX_Text(pFX, _T("[chkey2]"), m_chkey2);
RFX_Text(pFX, _T("[chkey3]"), m_chkey3);
RFX_Text(pFX, _T("[chkey4]"), m_chkey4);
RFX_Text(pFX, _T("[chkey5]"), m_chkey5);
RFX_Text(pFX, _T("[enkey1]"), m_enkey1);
RFX_Text(pFX, _T("[enkey2]"), m_enkey2);
RFX_Text(pFX, _T("[enkey3]"), m_enkey3);
RFX_Text(pFX, _T("[enkey4]"), m_enkey4);
RFX_Text(pFX, _T("[enkey5]"), m_enkey5);
RFX_Text(pFX, _T("[type]"), m_type);
RFX_Text(pFX, _T("[teacher]"), m_teacher);
RFX_Long(pFX, _T("[score]"), m_score);
RFX_Text(pFX, _T("[description]"), m_description);
//}}AFX_FIELD_MAP
}
/////////////////////////////////////////////////////////////////////////////
// CThesisInfo diagnostics
#ifdef _DEBUG
void CThesisInfo::AssertValid() const
{
CRecordset::AssertValid();
}
void CThesisInfo::Dump(CDumpContext& dc) const
{
CRecordset::Dump(dc);
}
#endif //_DEBUG
*/
/////////////////////////////////////////////////////////////////////////////
// CThesisInfoSet
IMPLEMENT_DYNAMIC(CThesisInfoSet, CRecordset)
CThesisInfoSet::CThesisInfoSet(CDatabase* pdb)
: CRecordset(pdb)
{
//{{AFX_FIELD_INIT(CThesisInfoSet)
m_stuid = _T("");
m_name = _T("");
m_chkey1 = _T("");
m_chkey2 = _T("");
m_chkey3 = _T("");
m_chkey4 = _T("");
m_chkey5 = _T("");
m_enkey1 = _T("");
m_enkey2 = _T("");
m_enkey3 = _T("");
m_enkey4 = _T("");
m_enkey5 = _T("");
m_type = _T("");
m_teacher = _T("");
m_score = 0.0f;
m_description = _T("");
m_nFields = 16;
//}}AFX_FIELD_INIT
m_nDefaultType = snapshot;
}
CString CThesisInfoSet::GetDefaultConnect()
{
return _T("ODBC;DSN=论文管理系统");
}
CString CThesisInfoSet::GetDefaultSQL()
{
return _T("[thesisInfo]");
}
void CThesisInfoSet::DoFieldExchange(CFieldExchange* pFX)
{
//{{AFX_FIELD_MAP(CThesisInfoSet)
pFX->SetFieldType(CFieldExchange::outputColumn);
RFX_Text(pFX, _T("[stuid]"), m_stuid);
RFX_Text(pFX, _T("[name]"), m_name);
RFX_Text(pFX, _T("[chkey1]"), m_chkey1);
RFX_Text(pFX, _T("[chkey2]"), m_chkey2);
RFX_Text(pFX, _T("[chkey3]"), m_chkey3);
RFX_Text(pFX, _T("[chkey4]"), m_chkey4);
RFX_Text(pFX, _T("[chkey5]"), m_chkey5);
RFX_Text(pFX, _T("[enkey1]"), m_enkey1);
RFX_Text(pFX, _T("[enkey2]"), m_enkey2);
RFX_Text(pFX, _T("[enkey3]"), m_enkey3);
RFX_Text(pFX, _T("[enkey4]"), m_enkey4);
RFX_Text(pFX, _T("[enkey5]"), m_enkey5);
RFX_Text(pFX, _T("[type]"), m_type);
RFX_Text(pFX, _T("[teacher]"), m_teacher);
RFX_Single(pFX, _T("[score]"), m_score);
RFX_Text(pFX, _T("[description]"), m_description);
//}}AFX_FIELD_MAP
}
/////////////////////////////////////////////////////////////////////////////
// CThesisInfoSet diagnostics
#ifdef _DEBUG
void CThesisInfoSet::AssertValid() const
{
CRecordset::AssertValid();
}
void CThesisInfoSet::Dump(CDumpContext& dc) const
{
CRecordset::Dump(dc);
}
#endif //_DEBUG
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -