shop.BLL/ProductRelateArticleBusiness.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.Text;
using shop.DAL;
using shop.Model;
namespace shop.BLL
{
public class ProductRelateArticleBusiness
{
public bool Add(ProductRelateArticle productRelateArticle)
{
return new ProductRelateArticleDAO().Add(productRelateArticle);
}
public bool Delete(int Id)
{
return new ProductRelateArticleDAO().Delete(Id);
}
public bool Update(ProductRelateArticle productRelateArticle)
{
return new ProductRelateArticleDAO().Update(productRelateArticle);
}
public ProductRelateArticle GetEntity(int Id)
{
return new ProductRelateArticleDAO().GetEntity(Id);
}
public DataRecordTable GetList(string fieldList, string orderField, bool orderBy, int pageIndex, int pageSize, string where)
{
return new ProductRelateArticleDAO().GetList(fieldList,orderField,orderBy,pageIndex,pageSize,where);
}
public System.Data.DataTable GetListByProductId(int productId)
{
return new ProductRelateArticleDAO().GetListByProductId(productId);
}
public bool IsSameRecord(int productId, int articleId)
{
return new ProductRelateArticleDAO().IsSameRecord(productId,articleId);
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
