本文整理汇总了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));
}
示例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)));
}
示例3: get
TaskTask TaskTask::get(int taskId)
{
TSqlORMapper<TaskTaskObject> mapper;
return TaskTask(mapper.findByPrimaryKey(taskId));
}
示例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)));
}
示例5: get
WarrantyInit WarrantyInit::get(int warrantyInitId)
{
TSqlORMapper<WarrantyInitObject> mapper;
return WarrantyInit(mapper.findByPrimaryKey(warrantyInitId));
}
示例6: get
Dept Dept::get(int deptId)
{
TSqlORMapper<DeptObject> mapper;
return Dept(mapper.findByPrimaryKey(deptId));
}
示例7: get
UserElecCert UserElecCert::get(int userElecCertId)
{
TSqlORMapper<UserElecCertObject> mapper;
return UserElecCert(mapper.findByPrimaryKey(userElecCertId));
}
示例8: get
PoHeader PoHeader::get(int poId)
{
TSqlORMapper<PoHeaderObject> mapper;
return PoHeader(mapper.findByPrimaryKey(poId));
}
示例9: get
SchedWpMpc SchedWpMpc::get(int schedId, int taskId)
{
TSqlORMapper<SchedWpMpcObject> mapper;
return SchedWpMpc(mapper.findByPrimaryKey(QVariantList()<<QVariant(schedId)<<QVariant(taskId)));
}
示例10: get
City City::get(int cityId)
{
TSqlORMapper<CityObject> mapper;
return City(mapper.findByPrimaryKey(cityId));
}
示例11: get
DeptSubdept DeptSubdept::get(int deptId, int subDeptId)
{
TSqlORMapper<DeptSubdeptObject> mapper;
return DeptSubdept(mapper.findByPrimaryKey(QVariantList()<<QVariant(deptId)<<QVariant(subDeptId)));
}
示例12: get
Advsry Advsry::get(int advsryId)
{
TSqlORMapper<AdvsryObject> mapper;
return Advsry(mapper.findByPrimaryKey(advsryId));
}
示例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)));
}
示例14: get
RefFailDefer RefFailDefer::get(const QString &failDeferCd)
{
TSqlORMapper<RefFailDeferObject> mapper;
return RefFailDefer(mapper.findByPrimaryKey(failDeferCd));
}
示例15: get
UserLicense UserLicense::get(int userId, int licenseId)
{
TSqlORMapper<UserLicenseObject> mapper;
return UserLicense(mapper.findByPrimaryKey(QVariantList()<<QVariant(userId)<<QVariant(licenseId)));
}