本文整理汇总了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);
}
}
示例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);
}
}
示例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;
}
}
示例4: GetEmployeeToEngine
public List<EmployeeContactWays> GetEmployeeToEngine(string[] employeeIDs)
{
using (EmployeeBLL bll = new EmployeeBLL())
{
return bll.GetEmployeeToEngine(employeeIDs);
}
}
示例5: GetEmployeeDetailViewByEmployeeID
public List<V_EMPLOYEEVIEW> GetEmployeeDetailViewByEmployeeID(string[] Employeeids)
{
using (EmployeeBLL bll = new EmployeeBLL())
{
return bll.GetEmployeesByEmployeeIds(Employeeids);
}
}
示例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);
}
}
示例7: GetEmployeeInfoByEmployeeID
public V_EMPLOYEEVIEW GetEmployeeInfoByEmployeeID(string employeeID)
{
using (EmployeeBLL bll = new EmployeeBLL())
{
return bll.GetEmployeeInfoByEmployeeID(employeeID);
}
}
示例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;
}
}
示例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;
}
}
示例10: GetEmployeePhotoByID
public byte[] GetEmployeePhotoByID(string employeeID)
{
using (EmployeeBLL bll = new EmployeeBLL())
{
return bll.GetEmployeePhotoByID(employeeID);
}
}
示例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;
}
}
示例12: GetEmployeeDetailByIDs
public List<V_EMPLOYEEPOST> GetEmployeeDetailByIDs(string[] employeeID)
{
using (EmployeeBLL bll = new EmployeeBLL())
{
return bll.GetEmployeeDetailByIDs(employeeID);
}
}
示例13: GetVEmployeePostByEmployeeID
public V_EMPLOYEEPOST GetVEmployeePostByEmployeeID(string employeeID)
{
using (EmployeeBLL bll = new EmployeeBLL())
{
return bll.GetVEmployeePostByEmployeeID(employeeID);
}
}
示例14: GetEmployeeDetailViewByID
public V_EMPLOYEEDETAIL GetEmployeeDetailViewByID(string employeeID)
{
using (EmployeeBLL bll = new EmployeeBLL())
{
return bll.GetEmployeeDetailView(employeeID);
}
}
示例15: GetEmployeeDetailByID
public V_EMPLOYEEPOST GetEmployeeDetailByID(string employeeID)
{
using (EmployeeBLL bll = new EmployeeBLL())
{
return bll.GetEmployeeDetailByID(employeeID);
}
}