mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-07-15 05:13:25 +08:00
23 lines
653 B
C#
23 lines
653 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
namespace OpenAuth.Domain.Interface
|
|
{
|
|
public interface ICategoryRepository :IRepository<Category>
|
|
{
|
|
IEnumerable<Category> LoadCategorys(int pageindex, int pagesize);
|
|
|
|
IEnumerable<Category> LoadInOrgs(params string[] orgId);
|
|
int GetCategoryCntInOrgs(params string[] orgIds);
|
|
IEnumerable<Category> LoadInOrgs(int pageindex, int pagesize, params string[] orgIds);
|
|
|
|
/// <summary>
|
|
/// 获取子分类ID
|
|
/// </summary>
|
|
string[] GetSubIds(string orgId);
|
|
|
|
void Delete(string id);
|
|
|
|
}
|
|
} |