Nessuna descrizione

telloc_users.cs 966B

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