📄 collectionpagingrules.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 + -