iproduct.cs
来自「动易SiteFactory™ 网上商店系统1.0源代码」· CS 代码 · 共 34 行
CS
34 行
namespace PowerEasy.IDal.Shop
{
using PowerEasy.Model.Shop;
using System;
using System.Collections.Generic;
public interface IProduct
{
bool Add(string tableName, ProductInfo info);
bool Delete(string generalIdList);
int GetGeneralId(string tableName, int productId);
int GetNewProductId();
ProductInfo GetProductById(int id);
ProductInfo GetProductById(int productId, string tableName);
ProductInfo GetProductById(int generalId, int productId, string tableName);
IList<ProductInfo> GetProductInfoList(int startRowIndexId, int maxNumberRows, string tableName, string searchProductName, string productType);
IDictionary<int, string> GetProductList(int modelId, string productIdList);
IDictionary<int, string> GetProductList(int modelId, int searchType, string keyword, string keyword2);
string GetProductName(int productId, string tableName);
IList<ProductDetailInfo> GetProductsList(int startRowIndexId, int maxNumberRows, int searchType, string field, string keyword, int modelId);
IList<ProductDetailInfo> GetProductsList(int startRowIndexId, int maxNumberRows, string searchType, string keyword, string nodeIds, int listType, int status);
IList<string> GetShopTableNames();
int GetTotalOfAllProducts();
int GetTotalOfProducts();
bool SetBest(string generalIdList, bool enableBest);
bool SetElite(string generalIdList, int eliteLevel);
bool SetHot(string generalIdList, bool enableHot);
bool SetNew(string generalIdList, bool enableNew);
bool SetSale(string generalIdList, bool enableSale);
bool Update(ProductInfo info, string tableName);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?