using System; using System.Collections.Generic; using System.Linq; using System.Text; using ICSSoft.Frame.Data.DAL; using System.Data; using ICSSoft.Frame.Data.Entity; namespace ICSSoft.Frame.Data.BLL { public class ICSStorageBLL { public static void AddAndEdit(ICSStorage Storage, string Appconstr) { try { ICSStorageDAL.AddAndEdit(Storage, Appconstr); } catch (Exception ex) { throw ex; } } public static ICSStorage select(String guid, String Appconstr) { try { return ICSStorageDAL.select(guid, Appconstr); } catch (Exception ex) { throw ex; } } public static ICSStorage selectById(String guid, String Appconstr) { try { return ICSStorageDAL.selectByID(guid, Appconstr); } catch (Exception ex) { throw ex; } } public static ICSStorage selectByCode(String storagecode, String Appconstr) { return ICSStorageDAL.selectByCode(storagecode, Appconstr); } public static void delete(List guidList) { try { ICSStorageDAL.delete(guidList); } catch (Exception ex) { throw ex; } } public static void SelectERP(string ERPName) { ICSStorageDAL.SelectERP(ERPName); } public static void SaveInfo(DataTable data, string Appconstr) { try { ICSStorageDAL.SaveInfo(data, Appconstr); } catch (Exception ex) { throw ex; } } public static void SaveConnect(string Connecting, string StorageSerial1, Dictionary ConnList) { try { ICSStorageDAL.SaveConnect(Connecting, StorageSerial1, ConnList); } catch (Exception ex) { throw ex; } } } }