Nenhuma Descrição

telloc_users.cs 940B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Data;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace CallCenterApi.BLL
  8. {
  9. public class telloc_users
  10. {
  11. private readonly DAL.telloc_users dal = new DAL.telloc_users();
  12. /// <summary>
  13. /// 得到一个对象实体
  14. /// </summary>
  15. public Model.telloc_users GetModel(int Id)
  16. {
  17. return dal.GetModel(Id);
  18. }
  19. public Model.telloc_users GetModel(int userid, int telid)
  20. {
  21. return dal.GetModel(userid, telid);
  22. }
  23. public bool Update(Model.telloc_users dModel)
  24. {
  25. return dal.Update(dModel);
  26. }
  27. public int Add(Model.telloc_users dModel)
  28. {
  29. return dal.Add(dModel);
  30. }
  31. public DataSet GetList(string strWhere)
  32. {
  33. return dal.GetList(strWhere);
  34. }
  35. }
  36. }