///
///INTERFACE CLASS FOR TABLE t_DeptEmp
///By wm with codesmith.
///on 04/18/2017
///
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
namespace DeiNiu.wms.Data.Model
{
[Serializable]
public class DeptEmp : DeptEmp_base
{
public DeptEmp()
{
}
public DeptEmp(int id): base(id)
{
}
protected override void getImp()
{
model_imp = new DeptEmp_Imp();
}
///
/// delete by employee
///
///
///
public int Delete(int empId)
{
cmdParameters[0] = empId;
return CustOper(100); //delete by lesson
}
///
/// delete by Department
///
///
///
public int DeleteByDept(int deptId)
{
cmdParameters[0] = deptId;
return CustOper(200); //delete by lesson
}
///
/// 取得用户部门信息
///
public DataTable GetActivedEmpDept()
{
return CustQuery(300).Tables[0]; //delete by lesson
}
}
}