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

📄 collectionlistrules.cs

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

    public static class CollectionListRules
    {
        private static readonly ICollectionListRules dal = DataAccess.CreateCollectionListRules();

        public static bool Add(CollectionListRuleInfo collectionListRuleInfo)
        {
            return dal.Add(collectionListRuleInfo);
        }

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

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

        public static CollectionListRuleInfo GetInfoById(int id)
        {
            return dal.GetInfoById(id);
        }

        public static bool Update(CollectionListRuleInfo collectionListRuleInfo)
        {
            return dal.Update(collectionListRuleInfo);
        }
    }
}

⌨️ 快捷键说明

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