18 lines
428 B
C#
18 lines
428 B
C#
using System.Linq;
|
|
using WX.CRM.IBLL.Wx;
|
|
using WX.CRM.Model.Entity;
|
|
|
|
namespace WX.CRM.BLL.Wx
|
|
{
|
|
public class WX_ORDEREXT_BL : DbContextRepository<WX_ORDEREXT>, IWX_ORDEREXT
|
|
{
|
|
public WX_ORDEREXT GetModel(decimal orderid)
|
|
{
|
|
using (crmContext db = new crmContext())
|
|
{
|
|
return db.WX_ORDEREXT.FirstOrDefault(M => M.ORDERID == orderid);
|
|
}
|
|
|
|
}
|
|
}
|
|
} |