Exemplo n.º 1
0
 /// <summary>
 /// 查找指定ID的公司
 /// </summary>
 /// <param name="companyId">公司ID</param>
 /// <param name="tran">中间事务对象</param>
 /// <returns>返回公司实体对象</returns>
 public static Company FindCompanyById(string companyId, ICTransaction tran)
 {
     return(CompanyDal.FindSingle(companyId, tran));
 }
Exemplo n.º 2
0
 /// <summary>
 /// 查找指定ID的公司
 /// </summary>
 /// <param name="companyId">公司ID</param>
 /// <returns>返回公司实体对象</returns>
 public static Company FindCompanyById(string companyId)
 {
     return(CompanyDal.FindSingle(companyId));
 }