⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iproduct.cs

📁 动易SiteFactory&#8482 网上商店系统1.0源代码
💻 CS
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -