void CRSProdutosComPrecos::DoFieldExchange(CFieldExchange* pFX) { //{{AFX_FIELD_MAP(CRSProdutosComPrecos) pFX->SetFieldType(CFieldExchange::outputColumn); RFX_Int(pFX, _T("[pr_Tabela]"), m_pr_Tabela); RFX_Long(pFX, _T("[pr_Produto]"), m_pr_Produto); RFX_Text(pFX, _T("[pr_Preco1]"), m_pr_Preco1); RFX_Text(pFX, _T("[pr_Preco2]"), m_pr_Preco2); RFX_Text(pFX, _T("[pr_Preco3]"), m_pr_Preco3); RFX_Text(pFX, _T("[pr_Preco4]"), m_pr_Preco4); RFX_Text(pFX, _T("[pr_Preco5]"), m_pr_Preco5); RFX_Text(pFX, _T("[pr_Preco6]"), m_pr_Preco6); RFX_Text(pFX, _T("[pr_Preco7]"), m_pr_Preco7); RFX_Text(pFX, _T("[pr_Preco8]"), m_pr_Preco8); RFX_Date(pFX, _T("[pr_TimeStamp]"), m_pr_TimeStamp); RFX_Long(pFX, _T("[pd_Codigo]"), m_pd_Codigo); RFX_Byte(pFX, _T("[pd_Digito]"), m_pd_Digito); RFX_Text(pFX, _T("[pd_Descricao]"), m_pd_Descricao); RFX_Bool(pFX, _T("[pd_Disponivel]"), m_pd_Disponivel); RFX_Date(pFX, _T("[pd_TimeStamp]"), m_pd_TimeStamp); RFX_Date(pFX, _T("[pd_DisponibilidadeTimeStamp]"), m_pd_DisponibilidadeTimeStamp); RFX_Text(pFX, _T("[pd_Embalagem]"), m_pd_Embalagem); RFX_Long(pFX, _T("[pd_EmbalagemMaster]"), m_pd_EmbalagemMaster); RFX_Text(pFX, _T("[pd_PesoBruto]"), m_pd_PesoBruto); RFX_Text(pFX, _T("[pd_Unidade]"), m_pd_Unidade); RFX_Long(pFX, _T("[pd_Unidades]"), m_pd_Unidades); //}}AFX_FIELD_MAP }
void CMagicTableSet::DoFieldExchange(CFieldExchange* pFX) { //{{AFX_FIELD_MAP(CMagicTableSet) pFX->SetFieldType(CFieldExchange::outputColumn); RFX_Long(pFX, _T("[MagicNum]"), m_MagicNum); RFX_Text(pFX, _T("[EnName]"), m_EnName); RFX_Text(pFX, _T("[KrName]"), m_KrName); RFX_Text(pFX, _T("[Description]"), m_Description); RFX_Byte(pFX, _T("[BeforeAction]"), m_BeforeAction); RFX_Byte(pFX, _T("[TargetAction]"), m_TargetAction); RFX_Byte(pFX, _T("[SelfEffect]"), m_SelfEffect); RFX_Byte(pFX, _T("[FlyingEffect]"), m_FlyingEffect); RFX_Int(pFX, _T("[TargetEffect]"), m_TargetEffect); RFX_Byte(pFX, _T("[Moral]"), m_Moral); RFX_Int(pFX, _T("[SkillLevel]"), m_SkillLevel); RFX_Int(pFX, _T("[Skill]"), m_Skill); RFX_Int(pFX, _T("[Msp]"), m_Msp); RFX_Int(pFX, _T("[HP]"), m_HP); RFX_Byte(pFX, _T("[ItemGroup]"), m_ItemGroup); RFX_Long(pFX, _T("[UseItem]"), m_UseItem); RFX_Byte(pFX, _T("[CastTime]"), m_CastTime); RFX_Byte(pFX, _T("[ReCastTime]"), m_ReCastTime); RFX_Byte(pFX, _T("[SuccessRate]"), m_SuccessRate); RFX_Byte(pFX, _T("[Type1]"), m_Type1); RFX_Byte(pFX, _T("[Type2]"), m_Type2); RFX_Int(pFX, _T("[Range]"), m_Range); RFX_Byte(pFX, _T("[Etc]"), m_Etc); //}}AFX_FIELD_MAP }
void CHKLainarivitRS::DoFieldExchange(CFieldExchange* pFX) { //{{AFX_FIELD_MAP(CHKLainarivitRS) pFX->SetFieldType(CFieldExchange::outputColumn); RFX_Long(pFX, _T("[HLR_ID]"), m_HLR_ID); RFX_Long(pFX, _T("[HLR_HKL_LA_Nr]"), m_HLR_HKL_LA_Nr); RFX_Long(pFX, _T("[HLR_RiviNr]"), m_HLR_RiviNr); RFX_Text(pFX, _T("[HLR_TuNr]"), m_HLR_TuNr); RFX_Long(pFX, _T("[HLR_Maara]"), m_HLR_Maara); RFX_Text(pFX, _T("[HLR_Yks]"), m_HLR_Yks); RFX_Double(pFX, _T("[HLR_YksPaino]"), m_HLR_YksPaino); RFX_Bool(pFX, _T("[HLR_SiirtoMyymalaan]"), m_HLR_SiirtoMyymalaan); RFX_Bool(pFX, _T("[HLR_EiListoille]"), m_HLR_EiListoille); RFX_Text(pFX, _T("[HLR_Kuvaus]"), m_HLR_Kuvaus); //RFX_Text(pFX, _T("[HLR_Huom]"), m_HLR_Huom); RFX_Double(pFX, _T("[HLR_Laina]"), m_HLR_Laina); //RFX_Text(pFX, _T("[HLR_Varasto]"), m_HLR_Varasto); RFX_Double(pFX, _T("[HLR_KorotKulut]"), m_HLR_KorotKulut); RFX_Double(pFX, _T("[HLR_HKkulut]"), m_HLR_HKkulut); RFX_Double(pFX, _T("[HLR_Pohjahinta]"), m_HLR_Pohjahinta); RFX_Double(pFX, _T("[HLR_KorkeinTarjous]"), m_HLR_KorkeinTarjous); RFX_Text(pFX, _T("[HLR_TarjoajanNimi]"), m_HLR_TarjoajanNimi); RFX_Double(pFX, _T("[HLR_MyyntiRaja]"), m_HLR_MyyntiRaja); RFX_Double(pFX, _T("[HLR_Myyntihinta]"), m_HLR_Myyntihinta); RFX_Text(pFX, _T("[HLR_OstajanNimi]"), m_HLR_OstajanNimi); RFX_Text(pFX, _T("[HLR_MyyntiHuom]"), m_HLR_MyyntiHuom); RFX_Date(pFX, _T("[HLR_MyyntiPv]"), m_HLR_MyyntiPv); //}}AFX_FIELD_MAP }
void CtbPLCSymbol::DoFieldExchange(CFieldExchange* pFX) { pFX->SetFieldType(CFieldExchange::outputColumn); // RFX_Text() 和 RFX_Int() 这类宏依赖的是 // 成员变量的类型,而不是数据库字段的类型。 // ODBC 尝试自动将列值转换为所请求的类型 RFX_Long(pFX, _T("[Id]"), m_Id); RFX_Date(pFX, _T("[CreatedDateTime]"), m_CreatedDateTime); RFX_Date(pFX, _T("[LastUpdatedDateTime]"), m_LastUpdatedDateTime); RFX_Text(pFX, _T("[AddressType]"), m_AddressType); RFX_Text(pFX, _T("[AddressIndex]"), m_AddressIndex); RFX_Long(pFX, _T("[PLCId]"), m_PLCId); RFX_Long(pFX, _T("[ProcessModuleId]"), m_ProcessModuleId); RFX_Long(pFX, _T("[DeviceId]"), m_DeviceId); RFX_Text(pFX, _T("[Value]"), m_Value); RFX_Bool(pFX, _T("[IsVisible]"), m_IsVisible); RFX_Bool(pFX, _T("[IsConfig]"), m_IsConfig); RFX_Text(pFX, _T("[PlcName]"), m_PlcName); RFX_Text(pFX, _T("[ProductionLineName]"), m_ProductionLineName); RFX_Text(pFX, _T("[ProcessModuleName]"), m_ProcessModuleName); RFX_Text(pFX, _T("[DeviceName]"), m_DeviceName); RFX_Text(pFX, _T("[ValueType]"), m_ValueType); RFX_Text(pFX, _T("[strNote]"), m_strNote); RFX_Bool(pFX, _T("[IsReadOnly]"), m_IsReadOnly); RFX_Long(pFX, _T("[ProductionLineId]"), m_ProductionLineId); }
void CItemLevelTableSet::DoFieldExchange(CFieldExchange* pFX) { //{{AFX_FIELD_MAP(CItemLevelTableSet) pFX->SetFieldType(CFieldExchange::outputColumn); RFX_Int(pFX, _T("[Effect]"), m_Effect); RFX_Int(pFX, _T("[Swd]"), m_Swd); RFX_Int(pFX, _T("[Spe]"), m_Spe); RFX_Int(pFX, _T("[Blt]"), m_Blt); RFX_Int(pFX, _T("[Bow]"), m_Bow); RFX_Int(pFX, _T("[Thr]"), m_Thr); RFX_Int(pFX, _T("[Sta]"), m_Sta); RFX_Int(pFX, _T("[Amr]"), m_Amr); RFX_Int(pFX, _T("[Glv]"), m_Glv); RFX_Int(pFX, _T("[Boot]"), m_Boot); RFX_Int(pFX, _T("[Shld]"), m_Shld); RFX_Int(pFX, _T("[Hlm]"), m_Hlm); RFX_Int(pFX, _T("[Gaiter]"), m_Gaiter); RFX_Int(pFX, _T("[Wrist]"), m_Wrist); RFX_Int(pFX, _T("[Str]"), m_Str); RFX_Int(pFX, _T("[Dex]"), m_Dex); RFX_Int(pFX, _T("[Con]"), m_Con); RFX_Int(pFX, _T("[Wis]"), m_Wis); RFX_Int(pFX, _T("[Agi]"), m_Agi); RFX_Long(pFX, _T("[Hpmax]"), m_Hpmax); RFX_Long(pFX, _T("[Mpmax]"), m_Mpmax); RFX_Long(pFX, _T("[Price]"), m_Price); //}}AFX_FIELD_MAP }
void CMyRecordset::DoFieldExchange(CFieldExchange* pFX) { pFX->SetFieldType(CFieldExchange::outputColumn); RFX_Text(pFX, "Text1", m_text1); RFX_Long(pFX, "Key1", m_key1); RFX_Long(pFX, "Number1", m_number1); }
void CODBCRecordset::DoFieldExchange( CFieldExchange* pFX ) { pFX->SetFieldType( CFieldExchange::outputColumn ); CString cFieldName; for( UINT i = 0; i < m_nFields; i++ ) { cFieldName.Format( "[%s]", GetFieldName(i) ); switch( m_fields[i].m_dwType ) { case DBVT_NULL: break; case DBVT_BOOL: RFX_Bool( pFX, cFieldName, m_fields[i].m_boolVal ); break; case DBVT_UCHAR: RFX_Byte( pFX, cFieldName, m_fields[i].m_chVal ); break; case DBVT_SHORT: // CDBVariant::m_iVal is of type short // RFX_Int() requires parameter of type int. // Class wizard maps int variable in this case // but CDBVariand does not have int member. m_fields[i].m_dwType = DBVT_LONG; RFX_Long( pFX, cFieldName, m_fields[i].m_lVal ); break; case DBVT_LONG: RFX_Long( pFX, cFieldName, m_fields[i].m_lVal ); break; case DBVT_SINGLE: RFX_Single( pFX, cFieldName, m_fields[i].m_fltVal ); break; case DBVT_DOUBLE: RFX_Double( pFX, cFieldName, m_fields[i].m_dblVal ); break; case DBVT_DATE: RFX_Date( pFX, cFieldName, *m_fields[i].m_pdate ); break; case DBVT_STRING: { CODBCFieldInfo fi; GetODBCFieldInfo( i, fi ); RFX_Text( pFX, cFieldName, *m_fields[i].m_pstring, fi.m_nPrecision ); break; } case DBVT_BINARY: RFX_LongBinary( pFX, cFieldName, *(m_fields[i].m_pbinary) ); break; default: // Unknown datatype ASSERT( FALSE ); } m_fields[i].SetNull( FALSE != IsFieldStatusNull( i ) ); } }
void CClassifyRecordSet::DoFieldExchange(CFieldExchange* pFX) { pFX->SetFieldType(CFieldExchange::outputColumn); // RFX_Text() 和 RFX_Int() 这类宏依赖的是 // 成员变量的类型,而不是数据库字段的类型。 // ODBC 尝试自动将列值转换为所请求的类型 RFX_Long(pFX, _T("[id]"), m_id); RFX_Text(pFX, _T("[name]"), m_name); RFX_Long(pFX, _T("[color]"), m_color); }
void CKassaPvKRS::DoFieldExchange(CFieldExchange* pFX) { //{{AFX_FIELD_MAP(CKassaPvKRS) pFX->SetFieldType(CFieldExchange::outputColumn); RFX_Long(pFX, _T("[KP_Rivi]"), m_KP_Rivi); RFX_Long(pFX, _T("[KP_KS_Tunnus]"), m_KP_KS_Tunnus); RFX_Long(pFX, _T("[KP_KPP_Rivi]"), m_KP_KPP_Rivi); RFX_Double(pFX, _T("[KP_Saldo]"), m_KP_Saldo); //}}AFX_FIELD_MAP }
void CNpcPosSet::DoFieldExchange(CFieldExchange* pFX) { //{{AFX_FIELD_MAP(CNpcPosSet) pFX->SetFieldType(CFieldExchange::outputColumn); RFX_Int(pFX, _T("[ZoneID]"), m_ZoneID); RFX_Long(pFX, _T("[NpcID]"), m_NpcID); RFX_Byte(pFX, _T("[ActType]"), m_ActType); RFX_Byte(pFX, _T("[RegenType]"), m_RegenType); RFX_Byte(pFX, _T("[DungeonFamily]"), m_DungeonFamily); RFX_Byte(pFX, _T("[SpecialType]"), m_SpecialType); RFX_Byte(pFX, _T("[TrapNumber]"), m_TrapNumber); RFX_Long(pFX, _T("[LeftX]"), m_LeftX); RFX_Long(pFX, _T("[TopZ]"), m_TopZ); RFX_Long(pFX, _T("[RightX]"), m_RightX); RFX_Long(pFX, _T("[BottomZ]"), m_BottomZ); RFX_Long(pFX, _T("[LimitMinX]"), m_LimitMinX); RFX_Long(pFX, _T("[LimitMinZ]"), m_LimitMinZ); RFX_Long(pFX, _T("[LimitMaxX]"), m_LimitMaxX); RFX_Long(pFX, _T("[LimitMaxZ]"), m_LimitMaxZ); RFX_Byte(pFX, _T("[NumNPC]"), m_NumNPC); RFX_Int(pFX, _T("[RegTime]"), m_RegTime); RFX_Byte(pFX, _T("[byDirection]"), m_byDirection); RFX_Byte(pFX, _T("[DotCnt]"), m_DotCnt); RFX_Text(pFX, _T("[path]"), m_path); //}}AFX_FIELD_MAP }
void CBRecordset::DoFieldExchange(CFieldExchange* pFX) { //{{AFX_FIELD_MAP(CBRecordset) pFX->SetFieldType(CFieldExchange::outputColumn); RFX_Text(pFX, _T("[科目]"), m_column1); RFX_Single(pFX, _T("[总成绩]"), m_column2); RFX_Single(pFX, _T("[平均成绩]"), m_column3); RFX_Long(pFX, _T("[及格人数]"), m_column4); RFX_Long(pFX, _T("[优秀人数]"), m_column5); //}}AFX_FIELD_MAP }
void CPhotoSet::DoFieldExchange(CFieldExchange* pFX) { //{{AFX_FIELD_MAP(CPhotoSet) pFX->SetFieldType(CFieldExchange::outputColumn); RFX_Long(pFX, _T("[photo_id]"), m_photo_id); RFX_Long(pFX, _T("[photo_person_id]"), m_photo_person_id); RFX_Text(pFX, _T("[photo_title]"), m_photo_title); RFX_Text(pFX, _T("[photo_type]"), m_photo_type); RFX_LongBinary(pFX, _T("[photo_data]"), m_photo_data); //}}AFX_FIELD_MAP }
void CWareHouseSet::DoFieldExchange(CFieldExchange* pFX) { //{{AFX_FIELD_MAP(CWareHouseSet) pFX->SetFieldType(CFieldExchange::outputColumn); RFX_Text(pFX, _T("[입고번호]"), m_WHNumber); RFX_Date(pFX, _T("[입고일자]"), m_WHDate); RFX_Long(pFX, _T("[입고단가]"), m_WHPrice); RFX_Long(pFX, _T("[입고수량]"), m_WHAmount); RFX_Text(pFX, _T("[음반코드]"), m_WH_DCode); //}}AFX_FIELD_MAP }
void CFaces::DoFieldExchange(CFieldExchange* pFX) { pFX->SetFieldType(CFieldExchange::outputColumn); // Macros such as RFX_Text() and RFX_Int() are dependent on the // type of the member variable, not the type of the field in the database. // ODBC will try to automatically convert the column value to the requested type RFX_Long(pFX, _T("[ID]"), m_ID); RFX_Long(pFX, _T("[FIGURE_ID]"), m_FIGURE_ID); RFX_Text(pFX, _T("[NAME]"), m_NAME); }
void CInventario::DoFieldExchange(CFieldExchange* pFX) { pFX->SetFieldType(CFieldExchange::outputColumn); // Las macros como RFX_Text() y RFX_Int() dependen del // tipo de variable miembro, no del tipo de campo de base de datos. // ODBC intentará convertir automáticamente el valor de columna en el tipo solicitado RFX_Text(pFX, _T("[ARTI]"), m_ARTI); RFX_Text(pFX, _T("[ALMACEN]"), m_ALMACEN); RFX_Long(pFX, _T("[UNITOTAL]"), m_UNITOTAL); RFX_Long(pFX, _T("[UNIDISPONIBLE]"), m_UNIDISPONIBLE); }
void COrderDetailsSet::DoFieldExchange(CFieldExchange* pFX) { pFX->SetFieldType(CFieldExchange::outputColumn); // Macros such as RFX_Text() and RFX_Int() are dependent on the // type of the member variable, not the type of the field in the database. // ODBC will try to automatically convert the column value to the requested type RFX_Long(pFX, _T("[OrderID]"), m_OrderID); RFX_Long(pFX, _T("[ProductID]"), m_ProductID); RFX_Double(pFX, _T("[UnitPrice]"), m_UnitPrice); RFX_Int(pFX, _T("[Quantity]"), m_Quantity); RFX_Single(pFX, _T("[Discount]"), m_Discount); }
void CDivisions::DoFieldExchange(CFieldExchange* pFX) { pFX->SetFieldType(CFieldExchange::outputColumn); // Macros such as RFX_Text() and RFX_Int() are dependent on the // type of the member variable, not the type of the field in the database. // ODBC will try to automatically convert the column value to the requested type RFX_Long(pFX, _T("[DivisionID]"), m_DivisionID); RFX_Text(pFX, _T("[DivisionName]"), m_DivisionName); RFX_Long(pFX, _T("[ConferenceID]"), m_ConferenceID); RFX_Bool(pFX, _T("[BaseDivision]"), m_BaseDivision); RFX_Date(pFX, _T("[LastUpdateTime]"), m_LastUpdateTime); }
void CBillRecordSet::DoFieldExchange(CFieldExchange* pFX) { pFX->SetFieldType(CFieldExchange::outputColumn); // RFX_Text() 和 RFX_Int() 这类宏依赖的是 // 成员变量的类型,而不是数据库字段的类型。 // ODBC 尝试自动将列值转换为所请求的类型 RFX_Long(pFX, _T("[id]"), m_id); RFX_Text(pFX, _T("[title]"), m_title); RFX_Long(pFX, _T("[money]"), m_money); RFX_Date(pFX, _T("[date]"), m_date); RFX_Long(pFX, _T("[classify_id]"), m_classify_id); RFX_Text(pFX, _T("[name]"), m_classify_name); }
void CNpcTableSet::DoFieldExchange(CFieldExchange* pFX) { //{{AFX_FIELD_MAP(CNpcTableSet) pFX->SetFieldType(CFieldExchange::outputColumn); RFX_Int(pFX, _T("[sSid]"), m_sSid); RFX_Text(pFX, _T("[strName]"), m_strName); RFX_Int(pFX, _T("[sPid]"), m_sPid); RFX_Int(pFX, _T("[sSize]"), m_sSize); RFX_Long(pFX, _T("[iWeapon1]"), m_iWeapon1); RFX_Long(pFX, _T("[iWeapon2]"), m_iWeapon2); RFX_Byte(pFX, _T("[byGroup]"), m_byGroup); RFX_Byte(pFX, _T("[byActType]"), m_byActType); RFX_Byte(pFX, _T("[byType]"), m_byType); RFX_Byte(pFX, _T("[byFamily]"), m_byFamily); RFX_Byte(pFX, _T("[byRank]"), m_byRank); RFX_Byte(pFX, _T("[byTitle]"), m_byTitle); RFX_Long(pFX, _T("[iSellingGroup]"), m_iSellingGroup); RFX_Int(pFX, _T("[sLevel]"), m_sLevel); RFX_Long(pFX, _T("[iExp]"), m_iExp); RFX_Long(pFX, _T("[iLoyalty]"), m_iLoyalty); RFX_Long(pFX, _T("[iHpPoint]"), m_iHpPoint); RFX_Int(pFX, _T("[sMpPoint]"), m_sMpPoint); RFX_Int(pFX, _T("[sAtk]"), m_sAtk); RFX_Int(pFX, _T("[sAc]"), m_sAc); RFX_Int(pFX, _T("[sHitRate]"), m_sHitRate); RFX_Int(pFX, _T("[sEvadeRate]"), m_sEvadeRate); RFX_Int(pFX, _T("[sDamage]"), m_sDamage); RFX_Int(pFX, _T("[sAttackDelay]"), m_sAttackDelay); RFX_Byte(pFX, _T("[bySpeed1]"), m_bySpeed1); RFX_Byte(pFX, _T("[bySpeed2]"), m_bySpeed2); RFX_Int(pFX, _T("[sStandtime]"), m_sStandtime); RFX_Long(pFX, _T("[iMagic1]"), m_iMagic1); RFX_Long(pFX, _T("[iMagic2]"), m_iMagic2); RFX_Long(pFX, _T("[iMagic3]"), m_iMagic3); RFX_Int(pFX, _T("[sFireR]"), m_byFireR); RFX_Int(pFX, _T("[sColdR]"), m_byColdR); RFX_Int(pFX, _T("[sLightningR]"), m_byLightningR); RFX_Int(pFX, _T("[sMagicR]"), m_byMagicR); RFX_Int(pFX, _T("[sDiseaseR]"), m_byDiseaseR); RFX_Int(pFX, _T("[sPoisonR]"), m_byPoisonR); RFX_Int(pFX, _T("[sLightR]"), m_byLightR); RFX_Int(pFX, _T("[sBulk]"), m_sBulk); RFX_Byte(pFX, _T("[byAttackRange]"), m_byAttackRange); RFX_Byte(pFX, _T("[bySearchRange]"), m_bySearchRange); RFX_Byte(pFX, _T("[byTracingRange]"), m_byTracingRange); RFX_Long(pFX, _T("[iMoney]"), m_iMoney); RFX_Int(pFX, _T("[sItem]"), m_sItem); RFX_Byte(pFX, _T("[byDirectAttack]"), m_byDirectAttack); RFX_Byte(pFX, _T("[byMagicAttack]"), m_byMagicAttack); //}}AFX_FIELD_MAP }
void CILGTrips::DoFieldExchange(CFieldExchange* pFX) { //{{AFX_FIELD_MAP(CILGTrips) pFX->SetFieldType(CFieldExchange::outputColumn); RFX_Long(pFX, _T("[TripID]"), m_TripID); RFX_Long(pFX, _T("[TripNum]"), m_TripNum); RFX_Long(pFX, _T("[BlockNum]"), m_BlockNum); RFX_Text(pFX, _T("[ServiceAbbr]"), m_ServiceAbbr); RFX_Text(pFX, _T("[RouteAbbr]"), m_RouteAbbr); RFX_Text(pFX, _T("[RouteDirectionAbbr]"), m_RouteDirectionAbbr); RFX_Text(pFX, _T("[PatternAbbr]"), m_PatternAbbr); RFX_Long(pFX, _T("[BlockSequence]"), m_BlockSequence); //}}AFX_FIELD_MAP }
void CUser::DoFieldExchange(CFieldExchange* pFX) { pFX->SetFieldType(CFieldExchange::outputColumn); // RFX_Text() 和 RFX_Int() 这类宏依赖的是 // 成员变量的类型,而不是数据库字段的类型。 // ODBC 尝试自动将列值转换为所请求的类型 RFX_Long(pFX, _T("[uid]"), m_uid); RFX_Text(pFX, _T("[userid]"), m_userid); RFX_Text(pFX, _T("[password]"), m_password); RFX_Text(pFX, _T("[username]"), m_username); RFX_Long(pFX, _T("[usercount]"), m_usercount); RFX_Long(pFX, _T("[portraitid]"), m_portraitid); }
void Cbilltran::DoFieldExchange(CFieldExchange* pFX) { pFX->SetFieldType(CFieldExchange::outputColumn); // RFX_Text() 和 RFX_Int() 这类宏依赖的是 // 成员变量的类型,而不是数据库字段的类型。 // ODBC 尝试自动将列值转换为所请求的类型 RFX_Long(pFX, _T("[ID]"), m_ID); RFX_Text(pFX, _T("[friendId]"), m_friendId); RFX_Text(pFX, _T("[Username]"), m_Username); RFX_Text(pFX, _T("[Uid]"), m_Uid); RFX_Text(pFX, _T("[Uname]"), m_Uname); RFX_Long(pFX, _T("[Trancount]"), m_Trancount); RFX_Long(pFX, _T("[Trantypeid]"), m_Trantypeid); }
void CRegisterSet::DoFieldExchange(CFieldExchange* pFX) { pFX->SetFieldType(CFieldExchange::outputColumn); // RFX_Text() 和 RFX_Int() 这类宏依赖的是 // 成员变量的类型,而不是数据库字段的类型。 // ODBC 尝试自动将列值转换为所请求的类型 RFX_Long(pFX, _T("[sign_id]"), m_sign_id); RFX_Date(pFX, _T("[start_time]"), m_start_time); RFX_Date(pFX, _T("[end_time]"), m_end_time); RFX_Double(pFX, _T("[working_hours]"), m_working_hours); RFX_Long(pFX, _T("[week_number]"), m_week_number); RFX_Text(pFX, _T("[signer]"), m_signer); RFX_Text(pFX, _T("[extra_infor]"), m_extra_infor); }
void CZoneInfoSet::DoFieldExchange(CFieldExchange* pFX) { //{{AFX_FIELD_MAP(CZoneInfoSet) pFX->SetFieldType(CFieldExchange::outputColumn); RFX_Int(pFX, _T("[ServerNo]"), m_ServerNo); RFX_Int(pFX, _T("[ZoneNo]"), m_ZoneNo); RFX_Text(pFX, _T("[strZoneName]"), m_strZoneName); RFX_Long(pFX, _T("[InitX]"), m_InitX); RFX_Long(pFX, _T("[InitZ]"), m_InitZ); RFX_Long(pFX, _T("[InitY]"), m_InitY); RFX_Byte(pFX, _T("[Type]"), m_Type); // dungeon work RFX_Byte(pFX, _T("[RoomEvent]"), m_RoomEvent); //}}AFX_FIELD_MAP }
void CtbProductionLine::DoFieldExchange(CFieldExchange* pFX) { pFX->SetFieldType(CFieldExchange::outputColumn); // RFX_Text() 和 RFX_Int() 这类宏依赖的是 // 成员变量的类型,而不是数据库字段的类型。 // ODBC 尝试自动将列值转换为所请求的类型 RFX_Long(pFX, _T("[Id]"), m_Id); RFX_Date(pFX, _T("[CreatedDateTime]"), m_CreatedDateTime); RFX_Date(pFX, _T("[LastUpdatedDateTime]"), m_LastUpdatedDateTime); RFX_Text(pFX, _T("[LineName]"), m_LineName); RFX_Long(pFX, _T("[UserId]"), m_UserId); RFX_Text(pFX, _T("[Capacity]"), m_Capacity); RFX_Text(pFX, _T("[Description]"), m_Description); }
void CSourceODBC::SDBField::FieldExchange(CFieldExchange *pFX) { switch(ID_TYPE) { case LONG: RFX_Long(pFX, (LPCTSTR)CString(FieldName.GetBuffer(0)), lValue); break; case STRING: RFX_Text(pFX, (LPCTSTR)CString(FieldName.GetBuffer(0)), strValue, 65535); break; case TIME: RFX_Date(pFX, (LPCTSTR)CString(FieldName.GetBuffer(0)), timeValue); break; case DOUBLE: RFX_Double(pFX, (LPCTSTR)CString(FieldName.GetBuffer(0)), dValue); break; case DOUBLE4: RFX_Double(pFX, (LPCTSTR)CString(FieldName.GetBuffer(0)), dValue); break; case BLOB: if ( binValue.GetSize() == 0 ) binValue.Add(0); RFX_Binary(pFX, (LPCTSTR)CString(FieldName.GetBuffer(0)), binValue, MAX_FILE_LENGHT); break; } }
void CMushroomTestSet::DoFieldExchange(CFieldExchange* pFX) { //{{AFX_FIELD_MAP(CMushroomTestSet) pFX->SetFieldType(CFieldExchange::outputColumn); RFX_Long(pFX, _T("[ID]"), m_ID); RFX_Text(pFX, _T("[item1]"), m_item1); RFX_Text(pFX, _T("[item2]"), m_item2); RFX_Text(pFX, _T("[item3]"), m_item3); RFX_Text(pFX, _T("[item4]"), m_item4); RFX_Text(pFX, _T("[item5]"), m_item5); RFX_Text(pFX, _T("[item6]"), m_item6); RFX_Text(pFX, _T("[item7]"), m_item7); RFX_Text(pFX, _T("[item8]"), m_item8); RFX_Text(pFX, _T("[item9]"), m_item9); RFX_Text(pFX, _T("[item10]"), m_item10); RFX_Text(pFX, _T("[item11]"), m_item11); RFX_Text(pFX, _T("[item12]"), m_item12); RFX_Text(pFX, _T("[item13]"), m_item13); RFX_Text(pFX, _T("[item14]"), m_item14); RFX_Text(pFX, _T("[item15]"), m_item15); RFX_Text(pFX, _T("[item16]"), m_item16); RFX_Text(pFX, _T("[item17]"), m_item17); RFX_Text(pFX, _T("[item18]"), m_item18); RFX_Text(pFX, _T("[item19]"), m_item19); RFX_Text(pFX, _T("[item20]"), m_item20); RFX_Text(pFX, _T("[item21]"), m_item21); RFX_Text(pFX, _T("[item22]"), m_item22); RFX_Text(pFX, _T("[item23]"), m_item23); //}}AFX_FIELD_MAP }
void CTable_staff::DoFieldExchange(CFieldExchange* pFX) { pFX->SetFieldType(CFieldExchange::outputColumn); // RFX_Text() 和 RFX_Int() 这类宏依赖的是 // 成员变量的类型,而不是数据库字段的类型。 // ODBC 尝试自动将列值转换为所请求的类型 RFX_Text(pFX, _T("[snumber]"), m_snumber); RFX_Text(pFX, _T("[sname]"), m_sname); RFX_Text(pFX, _T("[spassword]"), m_spassword); RFX_Text(pFX, _T("[scall]"), m_scall); RFX_Text(pFX, _T("[ssex]"), m_ssex); RFX_Long(pFX, _T("[sage]"), m_sage); RFX_Long(pFX, _T("[spay]"), m_spay); RFX_Text(pFX, _T("[sdate]"), m_sdate); }
void CMagicType4Set::DoFieldExchange(CFieldExchange* pFX) { //{{AFX_FIELD_MAP(CMagicType4Set) pFX->SetFieldType(CFieldExchange::outputColumn); RFX_Long(pFX, _T("[iNum]"), m_iNum); RFX_Text(pFX, _T("[Name]"), m_Name); RFX_Text(pFX, _T("[Description]"), m_Description); RFX_Byte(pFX, _T("[BuffType]"), m_BuffType); RFX_Byte(pFX, _T("[Radius]"), m_Radius); RFX_Int(pFX, _T("[Duration]"), m_Duration); RFX_Byte(pFX, _T("[AttackSpeed]"), m_AttackSpeed); RFX_Byte(pFX, _T("[Speed]"), m_Speed); RFX_Int(pFX, _T("[AC]"), m_AC); RFX_Byte(pFX, _T("[Attack]"), m_Attack); RFX_Int(pFX, _T("[MaxHP]"), m_MaxHP); RFX_Byte(pFX, _T("[HitRate]"), m_HitRate); RFX_Int(pFX, _T("[AvoidRate]"), m_AvoidRate); RFX_Byte(pFX, _T("[Str]"), m_Str); RFX_Byte(pFX, _T("[Sta]"), m_Sta); RFX_Byte(pFX, _T("[Dex]"), m_Dex); RFX_Byte(pFX, _T("[Intel]"), m_Intel); RFX_Byte(pFX, _T("[Cha]"), m_Cha); RFX_Byte(pFX, _T("[FireR]"), m_FireR); RFX_Byte(pFX, _T("[ColdR]"), m_ColdR); RFX_Byte(pFX, _T("[LightningR]"), m_LightningR); RFX_Byte(pFX, _T("[MagicR]"), m_MagicR); RFX_Byte(pFX, _T("[DiseaseR]"), m_DiseaseR); RFX_Byte(pFX, _T("[PoisonR]"), m_PoisonR); //}}AFX_FIELD_MAP }
void CRstStudent::DoFieldExchange(CFieldExchange* pFX) { //{{AFX_FIELD_MAP(CRstStudent) pFX->SetFieldType(CFieldExchange::outputColumn); RFX_Long(pFX, _T("[F_ID]"), m_F_ID); RFX_Text(pFX, _T("[F_Name]"), m_F_Name); RFX_Text(pFX, _T("[F_Sex]"), m_F_Sex); RFX_Text(pFX, _T("[F_SN]"), m_F_SN); RFX_Text(pFX, _T("[F_Address]"), m_F_Address); RFX_Text(pFX, _T("[F_Tel]"), m_F_Tel); RFX_Date(pFX, _T("[F_Date]"), m_F_Date); RFX_Text(pFX, _T("[F_AutoNo]"), m_F_AutoNo); RFX_Long(pFX, _T("[F_TypeID]"), m_F_TypeID); RFX_Text(pFX, _T("[F_Remark]"), m_F_Remark); //}}AFX_FIELD_MAP }