锐腾搅拌上料功能
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
858 B

5 months ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using ICSSoft.Frame.Data.Entity;
  6. using ICSSoft.Frame.Data.DAL;
  7. namespace ICSSoft.Frame.Data.BLL
  8. {
  9. public class DataAcquiseBLL
  10. {
  11. #region 新增和修改
  12. public static void Add(ICSTESTDATA ItemLot, string Appconstr, FramDataContext _domainDataProvider)
  13. {
  14. try
  15. {
  16. if (string.IsNullOrWhiteSpace(Appconstr))
  17. {
  18. throw new Exception("数据库连接字符串错误");
  19. }
  20. else
  21. {
  22. DataAcquiseDLL.AddandEdit(ItemLot, Appconstr, _domainDataProvider);
  23. }
  24. }
  25. catch (Exception ex)
  26. {
  27. throw ex;
  28. }
  29. }
  30. #endregion
  31. }
  32. }