当前位置: 首页>>代码示例>>C#>>正文


C# EmployeeBLL类代码示例

本文整理汇总了C#中EmployeeBLL的典型用法代码示例。如果您正苦于以下问题:C# EmployeeBLL类的具体用法?C# EmployeeBLL怎么用?C# EmployeeBLL使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


EmployeeBLL类属于命名空间,在下文中一共展示了EmployeeBLL类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: EmployeeAddOrUpdate

 public void EmployeeAddOrUpdate(T_HR_EMPLOYEE entity, ref string strMsg)
 {
     using (EmployeeBLL bll = new EmployeeBLL())
     {
         bll.EmployeeAddOrUpdate(entity, ref strMsg);
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:7,代码来源:PersonnelService.cs

示例2: EmployeeAdd

 public void EmployeeAdd(T_HR_EMPLOYEE entity, string companyID, ref string strMsg)
 {
     using (EmployeeBLL bll = new EmployeeBLL())
     {
         bll.EmployeeAdd(entity, companyID, ref strMsg);
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:7,代码来源:PersonnelService.cs

示例3: getEmployeeInfobyLogin

 public V_EMPLOYEEDETAIL getEmployeeInfobyLogin(string employeeid)
 {
     try
     {
         using (EmployeeBLL bll = new EmployeeBLL())
         {
             V_EMPLOYEEDETAIL employee =  bll.GetEmployeeDetailView(employeeid);
         if (employee == null)
         {
             Tracer.Debug("通过员工id获取到员工详细信息为空,员工id:" + employeeid);
             return null;
         }
         return employee;
         }
     }
     catch (Exception ex)
     {
         Tracer.Debug("通过员工id获取到员工详细信息出错,员工id:" + employeeid+ex.ToString());
         throw ex;
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:21,代码来源:EmployeeInfoService.svc.cs

示例4: GetEmployeeToEngine

 public List<EmployeeContactWays> GetEmployeeToEngine(string[] employeeIDs)
 {
     using (EmployeeBLL bll = new EmployeeBLL())
     {
         return bll.GetEmployeeToEngine(employeeIDs);
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:7,代码来源:PersonnelService.cs

示例5: GetEmployeeDetailViewByEmployeeID

 public List<V_EMPLOYEEVIEW> GetEmployeeDetailViewByEmployeeID(string[] Employeeids)
 {
     using (EmployeeBLL bll = new EmployeeBLL())
     {
         return bll.GetEmployeesByEmployeeIds(Employeeids);
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:7,代码来源:PersonnelService.cs

示例6: ExportEmployeesIntime

 public byte[] ExportEmployeesIntime(int pageIndex, int pageSize, string sort, string filterString, IList<object> paras, ref int pageCount, string sType, string sValue, string userID)
 {
     using (EmployeeBLL bll = new EmployeeBLL())
     {
         return bll.ExportEmployeesIntime(pageIndex, pageSize, sort, filterString, paras, ref  pageCount, sType, sValue, userID);
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:7,代码来源:PersonnelService.cs

示例7: GetEmployeeInfoByEmployeeID

 public V_EMPLOYEEVIEW GetEmployeeInfoByEmployeeID(string employeeID)
 {
     using (EmployeeBLL bll = new EmployeeBLL())
     {
         return bll.GetEmployeeInfoByEmployeeID(employeeID);
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:7,代码来源:PersonnelService.cs

示例8: GetEmployeesWithOutPermissions

 public List<T_HR_EMPLOYEE> GetEmployeesWithOutPermissions(int pageIndex, int pageSize, string sort, string filterString, IList<object> paras, ref int pageCount, string sType, string sValue)
 {
     using (EmployeeBLL bll = new EmployeeBLL())
     {
         IQueryable<T_HR_EMPLOYEE> q = bll.GetEmployeesWithOutPermissions(pageIndex, pageSize, sort, filterString, paras, ref  pageCount, sType, sValue);
         return q.Count() > 0 ? q.ToList() : null;
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:8,代码来源:PersonnelService.cs

示例9: GetEmployeePagingByFilter

 public List<T_HR_EMPLOYEE> GetEmployeePagingByFilter(int pageIndex, int pageSize, string sort, string filterString, string[] paras, ref int pageCount, string userID)
 {
     using (EmployeeBLL bll = new EmployeeBLL())
     {
         IQueryable<T_HR_EMPLOYEE> q = bll.GetEmployeesPaging(pageIndex, pageSize, sort, filterString, paras, ref  pageCount, userID);
         return q.Count() > 0 ? q.ToList() : null;
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:8,代码来源:PersonnelService.cs

示例10: GetEmployeePhotoByID

 public byte[] GetEmployeePhotoByID(string employeeID)
 {
     using (EmployeeBLL bll = new EmployeeBLL())
     {
         return bll.GetEmployeePhotoByID(employeeID);
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:7,代码来源:PersonnelService.cs

示例11: GetLeaveEmployeeViewsPagingForMVC

 public List<V_EMPLOYEEVIEW> GetLeaveEmployeeViewsPagingForMVC(int pageIndex, int pageSize, string sort, string filterString, string[] paras, ref int pageCount, string sType, string sValue, string userID, ref int recordCount)
 {
     using (EmployeeBLL bll = new EmployeeBLL())
     {
         List<V_EMPLOYEEVIEW> q = bll.GetLeaveEmployeeViewsPagingForMVC(pageIndex, pageSize, sort, filterString, paras, ref  pageCount, sType, sValue, userID, ref recordCount);
         return q;
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:8,代码来源:PersonnelService.cs

示例12: GetEmployeeDetailByIDs

 public List<V_EMPLOYEEPOST> GetEmployeeDetailByIDs(string[] employeeID)
 {
     using (EmployeeBLL bll = new EmployeeBLL())
     {
         return bll.GetEmployeeDetailByIDs(employeeID);
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:7,代码来源:PersonnelService.cs

示例13: GetVEmployeePostByEmployeeID

 public V_EMPLOYEEPOST GetVEmployeePostByEmployeeID(string employeeID)
 {
     using (EmployeeBLL bll = new EmployeeBLL())
     {
         return bll.GetVEmployeePostByEmployeeID(employeeID);
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:7,代码来源:PersonnelService.cs

示例14: GetEmployeeDetailViewByID

 public V_EMPLOYEEDETAIL GetEmployeeDetailViewByID(string employeeID)
 {
     using (EmployeeBLL bll = new EmployeeBLL())
     {
         return bll.GetEmployeeDetailView(employeeID);
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:7,代码来源:PersonnelService.cs

示例15: GetEmployeeDetailByID

 public V_EMPLOYEEPOST GetEmployeeDetailByID(string employeeID)
 {
     using (EmployeeBLL bll = new EmployeeBLL())
     {
         return bll.GetEmployeeDetailByID(employeeID);
     }
 }
开发者ID:JuRogn,项目名称:OA,代码行数:7,代码来源:PersonnelService.cs


注:本文中的EmployeeBLL类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。