using System; using System.Collections.Generic; using System.Linq; using System.Text; using ICSSoft.Frame.Data.Entity; using ICSSoft.Frame.Data.DAL; namespace ICSSoft.Frame.Data.BLL { public class DataAcquiseBLL { #region 新增和修改 public static void Add(ICSTESTDATA ItemLot, string Appconstr, FramDataContext _domainDataProvider) { try { if (string.IsNullOrWhiteSpace(Appconstr)) { throw new Exception("数据库连接字符串错误"); } else { DataAcquiseDLL.AddandEdit(ItemLot, Appconstr, _domainDataProvider); } } catch (Exception ex) { throw ex; } } #endregion } }