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

📄 collectionpagingrules.cs

📁 动易SiteFactory&#8482 网上商店系统1.0源代码
💻 CS
字号:
namespace PowerEasy.Collection
{
    using PowerEasy.IDal.Collection;
    using PowerEasy.Model.Collection;
    using System;
    using System.Collections.Generic;

    public static class CollectionPagingRules
    {
        private static readonly ICollectionPagingRules dal = DataAccess.CreateCollectionPagingRules();

        public static bool Add(CollectionPagingRuleInfo collectionPagingRuleInfo)
        {
            return dal.Add(collectionPagingRuleInfo);
        }

        public static bool Delete(int id, int ruleType)
        {
            return dal.Delete(id, ruleType);
        }

        public static bool Exists(int id, int ruleType)
        {
            return dal.Exists(id, ruleType);
        }

        public static IList<CollectionPagingRuleInfo> GetCollectionPagingRuleList(int itemId)
        {
            return dal.GetCollectionPagingRuleList(itemId);
        }

        public static CollectionPagingRuleInfo GetInfoById(int id, int ruleType)
        {
            return dal.GetInfoById(id, ruleType);
        }

        public static bool Update(CollectionPagingRuleInfo collectionPagingRuleInfo)
        {
            return dal.Update(collectionPagingRuleInfo);
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -