/// <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)); }
/// <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)); }
/// <summary> /// 批量新建公司 /// </summary> /// <param name="companyList">公司实体对象集合</param> /// <returns>返回处理后的公司实体对象集合</returns> public static IList <Company> AddCompany(IList <Company> companyList) { return(CompanyDal.Add(companyList)); }
/// <summary> /// 新建公司 /// </summary> /// <param name="company">公司实体对象</param> /// <returns>返回处理后的公司实体对象</returns> public static Company AddCompany(Company company) { return(CompanyDal.Add(company)); }