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.
64 lines
1.5 KiB
64 lines
1.5 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using ICSSoft.Frame.Data.DAL;
|
|
using ICSSoft.Frame.Data.Entity;
|
|
using System.Data;
|
|
|
|
|
|
namespace ICSSoft.Frame.Data.BLL
|
|
{
|
|
public class ICSSkillMatrixBLL
|
|
{
|
|
#region 新增和修改
|
|
public static void Add(ICSSkillMatrix Info, string dsconn)
|
|
{
|
|
try
|
|
{
|
|
if (string.IsNullOrWhiteSpace(dsconn))
|
|
{
|
|
throw new Exception("数据库连接字符串错误");
|
|
}
|
|
List<ICSSkillMatrix> InfoList = new List<ICSSkillMatrix>() { Info };
|
|
ICSSkillMatrixDAL.Add(InfoList, dsconn);
|
|
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
#region AddandEditList
|
|
public static void AddandEditList(List<ICSSkillMatrix> InfoList, string Appconstr)
|
|
{
|
|
try
|
|
{
|
|
ICSSkillMatrixDAL.AddandEditList(InfoList, Appconstr);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
throw ex;
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
#region select
|
|
public static ICSSkillMatrix select(String guid, String Appconstr)
|
|
{
|
|
return ICSSkillMatrixDAL.select(guid, Appconstr);
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region delete
|
|
public static void delete(List<String> guidList)
|
|
{
|
|
ICSSkillMatrixDAL.delete(guidList);
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
}
|