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.
29 lines
687 B
29 lines
687 B
2 months ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Reflection;
|
||
|
using System.Text;
|
||
|
using MESClassLibrary.BLL.Log;
|
||
|
using MESClassLibrary.EFModel;
|
||
|
|
||
|
namespace MESClassLibrary.BLL.TruckBox
|
||
|
{
|
||
|
public class AddPartInfoBLL
|
||
|
{
|
||
|
BasicBLL<tb_AddPartInfo> db=new BasicBLL<tb_AddPartInfo>();
|
||
|
|
||
|
public List<tb_AddPartInfo> SearchInfo()
|
||
|
{
|
||
|
try
|
||
|
{
|
||
|
return db.SearchAllInfo().OrderBy(p => p.ID).ToList();
|
||
|
}
|
||
|
catch (Exception ex)
|
||
|
{
|
||
|
LogErrBLL.AddInfo(ex.ToString(),MethodBase.GetCurrentMethod());
|
||
|
return null;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|