Exemplo n.º 1
0
 /// <summary>
 /// 批量新建公司
 /// </summary>
 /// <param name="companyList">公司实体对象集合</param>
 /// <param name="tran">中间事务对象</param>
 /// <returns>返回处理后的公司实体对象集合</returns>
 public static IList <Company> AddCompany(IList <Company> companyList, ICTransaction tran)
 {
     return(CompanyDal.Add(companyList, tran));
 }
Exemplo n.º 2
0
 /// <summary>
 /// 新建公司
 /// </summary>
 /// <param name="company">公司实体对象</param>
 /// <param name="tran">中间事务对象</param>
 /// <returns>返回处理后的公司实体对象</returns>
 public static Company AddCompany(Company company, ICTransaction tran)
 {
     return(CompanyDal.Add(company, tran));
 }
Exemplo n.º 3
0
 /// <summary>
 /// 批量新建公司
 /// </summary>
 /// <param name="companyList">公司实体对象集合</param>
 /// <returns>返回处理后的公司实体对象集合</returns>
 public static IList <Company> AddCompany(IList <Company> companyList)
 {
     return(CompanyDal.Add(companyList));
 }
Exemplo n.º 4
0
 /// <summary>
 /// 新建公司
 /// </summary>
 /// <param name="company">公司实体对象</param>
 /// <returns>返回处理后的公司实体对象</returns>
 public static Company AddCompany(Company company)
 {
     return(CompanyDal.Add(company));
 }