当前位置: 首页>>代码示例>>C++>>正文


C++ TSqlORMapper::findByPrimaryKey方法代码示例

本文整理汇总了C++中TSqlORMapper::findByPrimaryKey方法的典型用法代码示例。如果您正苦于以下问题:C++ TSqlORMapper::findByPrimaryKey方法的具体用法?C++ TSqlORMapper::findByPrimaryKey怎么用?C++ TSqlORMapper::findByPrimaryKey使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在TSqlORMapper的用法示例。


在下文中一共展示了TSqlORMapper::findByPrimaryKey方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: get

RefWarrantyEvalStatus RefWarrantyEvalStatus::get(const QString &warrantyEvalStatusCd)
{
    TSqlORMapper<RefWarrantyEvalStatusObject> mapper;
    return RefWarrantyEvalStatus(mapper.findByPrimaryKey(warrantyEvalStatusCd));
}
开发者ID:hks2002,项目名称:AM,代码行数:5,代码来源:refwarrantyevalstatus.cpp

示例2: get

TaskSchedRuleMesur TaskSchedRuleMesur::get(int taskId, int dataTypeId, int mesurUnitId)
{
    TSqlORMapper<TaskSchedRuleMesurObject> mapper;
    return TaskSchedRuleMesur(mapper.findByPrimaryKey(QVariantList()<<QVariant(taskId)<<QVariant(dataTypeId)<<QVariant(mesurUnitId)));
}
开发者ID:hks2002,项目名称:AM,代码行数:5,代码来源:taskschedrulemesur.cpp

示例3: get

TaskTask TaskTask::get(int taskId)
{
    TSqlORMapper<TaskTaskObject> mapper;
    return TaskTask(mapper.findByPrimaryKey(taskId));
}
开发者ID:hks2002,项目名称:AM,代码行数:5,代码来源:tasktask.cpp

示例4: get

OrgVendorApproval OrgVendorApproval::get(int orgId, int vendorId, const QString &vendorTypeCd)
{
    TSqlORMapper<OrgVendorApprovalObject> mapper;
    return OrgVendorApproval(mapper.findByPrimaryKey(QVariantList()<<QVariant(orgId)<<QVariant(vendorId)<<QVariant(vendorTypeCd)));
}
开发者ID:hks2002,项目名称:AM,代码行数:5,代码来源:orgvendorapproval.cpp

示例5: get

WarrantyInit WarrantyInit::get(int warrantyInitId)
{
    TSqlORMapper<WarrantyInitObject> mapper;
    return WarrantyInit(mapper.findByPrimaryKey(warrantyInitId));
}
开发者ID:hks2002,项目名称:AM,代码行数:5,代码来源:warrantyinit.cpp

示例6: get

Dept Dept::get(int deptId)
{
    TSqlORMapper<DeptObject> mapper;
    return Dept(mapper.findByPrimaryKey(deptId));
}
开发者ID:hks2002,项目名称:AM,代码行数:5,代码来源:dept.cpp

示例7: get

UserElecCert UserElecCert::get(int userElecCertId)
{
    TSqlORMapper<UserElecCertObject> mapper;
    return UserElecCert(mapper.findByPrimaryKey(userElecCertId));
}
开发者ID:hks2002,项目名称:AM,代码行数:5,代码来源:usereleccert.cpp

示例8: get

PoHeader PoHeader::get(int poId)
{
    TSqlORMapper<PoHeaderObject> mapper;
    return PoHeader(mapper.findByPrimaryKey(poId));
}
开发者ID:hks2002,项目名称:AM,代码行数:5,代码来源:poheader.cpp

示例9: get

SchedWpMpc SchedWpMpc::get(int schedId, int taskId)
{
    TSqlORMapper<SchedWpMpcObject> mapper;
    return SchedWpMpc(mapper.findByPrimaryKey(QVariantList()<<QVariant(schedId)<<QVariant(taskId)));
}
开发者ID:hks2002,项目名称:AM,代码行数:5,代码来源:schedwpmpc.cpp

示例10: get

City City::get(int cityId)
{
    TSqlORMapper<CityObject> mapper;
    return City(mapper.findByPrimaryKey(cityId));
}
开发者ID:hks2002,项目名称:AM,代码行数:5,代码来源:city.cpp

示例11: get

DeptSubdept DeptSubdept::get(int deptId, int subDeptId)
{
    TSqlORMapper<DeptSubdeptObject> mapper;
    return DeptSubdept(mapper.findByPrimaryKey(QVariantList()<<QVariant(deptId)<<QVariant(subDeptId)));
}
开发者ID:hks2002,项目名称:AM,代码行数:5,代码来源:deptsubdept.cpp

示例12: get

Advsry Advsry::get(int advsryId)
{
    TSqlORMapper<AdvsryObject> mapper;
    return Advsry(mapper.findByPrimaryKey(advsryId));
}
开发者ID:hks2002,项目名称:AM,代码行数:5,代码来源:advsry.cpp

示例13: get

WarrantyEvalLabour WarrantyEvalLabour::get(int warrantyEvalId, int schedId, int labourId)
{
    TSqlORMapper<WarrantyEvalLabourObject> mapper;
    return WarrantyEvalLabour(mapper.findByPrimaryKey(QVariantList()<<QVariant(warrantyEvalId)<<QVariant(schedId)<<QVariant(labourId)));
}
开发者ID:hks2002,项目名称:AM,代码行数:5,代码来源:warrantyevallabour.cpp

示例14: get

RefFailDefer RefFailDefer::get(const QString &failDeferCd)
{
    TSqlORMapper<RefFailDeferObject> mapper;
    return RefFailDefer(mapper.findByPrimaryKey(failDeferCd));
}
开发者ID:hks2002,项目名称:AM,代码行数:5,代码来源:reffaildefer.cpp

示例15: get

UserLicense UserLicense::get(int userId, int licenseId)
{
    TSqlORMapper<UserLicenseObject> mapper;
    return UserLicense(mapper.findByPrimaryKey(QVariantList()<<QVariant(userId)<<QVariant(licenseId)));
}
开发者ID:hks2002,项目名称:AM,代码行数:5,代码来源:userlicense.cpp


注:本文中的TSqlORMapper::findByPrimaryKey方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。