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
34 lines
858 B
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
|
|
}
|
|
}
|