using System; using System.Collections.Generic; using System.Linq; using System.Text; using ICSSoft.Frame.Data.Entity; using ICSSoft.Frame.Data.DAL; using System.Data; namespace ICSSoft.Frame.Data.BLL { public class ICSITEMBoxBLL { #region 新增和修改 public static void Add(List InfoList, string dsconn) { try { if (string.IsNullOrWhiteSpace(dsconn)) { throw new Exception("数据库连接字符串错误"); } ICSITEMBoxDAL.Add(InfoList, dsconn); } catch (Exception ex) { throw ex; } } #endregion #region 删除 public static void deleteInfo(List codeList, string dsconn) { try { ICSITEMBoxDAL.deleteInfo(codeList, dsconn); } catch (Exception ex) { throw ex; } } #endregion } }