/// <summary> /// 根据主键获取ProductsGen信息 /// </summary> /// <param name="productID"></param> /// <returns>ProductsGen信息</returns> public ProductsGen FindByPk(int productID) { try { return(baseDao.GetByKey <ProductsGen>(productID)); } catch (Exception ex) { throw new DalException("调用ProductsGenDao时,访问FindByPk时出错", ex); } }
/// <summary> /// 根据主键获取SysActionLog信息 /// </summary> /// <param name="id"></param> /// <returns>SysActionLog信息</returns> public SysActionLog FindByPk(long id) { try { return(baseDao.GetByKey <SysActionLog>(id)); } catch (Exception ex) { throw new DalException("调用SysActionLogDao时,访问FindByPk时出错", ex); } }
/// <summary> /// 根据主键获取SysCustomerInfo信息 /// </summary> /// <param name="id"></param> /// <returns>SysCustomerInfo信息</returns> public SysCustomerInfo FindByPk(long id) { try { return(baseDao.GetByKey <SysCustomerInfo>(id)); } catch (Exception ex) { throw new DalException("调用SysCustomerInfoDao时,访问FindByPk时出错", ex); } }
/// <summary> /// 根据主键获取CategoriesGen信息 /// </summary> /// <param name="categoryID"></param> /// <returns>CategoriesGen信息</returns> public CategoriesGen FindByPk(int categoryID) { try { return(baseDao.GetByKey <CategoriesGen>(categoryID)); } catch (Exception ex) { throw new DalException("调用CategoriesGenDao时,访问FindByPk时出错", ex); } }
/// <summary> /// 根据主键获取AgentGen信息 /// </summary> /// <param name="id"></param> /// <returns>AgentGen信息</returns> public AgentGen FindByPk(int id) { try { return(baseDao.GetByKey <AgentGen>(id)); } catch (Exception ex) { throw new DalException("调用AgentGenDao时,访问FindByPk时出错", ex); } }
public SysChinaCity FindByPk(long id) { try { return(baseDao.GetByKey <SysChinaCity>(id)); } catch (Exception ex) { throw new DalException("调用ActivityDirectRulesDao时,访问FindByPk时出错", ex); } }
/// <summary> /// 根据主键获取CustomersGen信息 /// </summary> /// <param name="customerID"></param> /// <returns>CustomersGen信息</returns> public CustomersGen FindByPk(string customerID) { try { return(baseDao.GetByKey <CustomersGen>(customerID)); } catch (Exception ex) { throw new DalException("调用CustomersGenDao时,访问FindByPk时出错", ex); } }
/// <summary> /// 根据主键获取PersonGen信息 /// </summary> /// <param name="iD"></param> /// <returns>PersonGen信息</returns> public PersonGen FindByPk(long iD) { try { return(baseDao.GetByKey <PersonGen>(iD)); } catch (Exception ex) { throw new DalException("调用PersonGenDao时,访问FindByPk时出错", ex); } }