mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-05-12 00:28:05 +08:00
23 lines
641 B
C#
23 lines
641 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 Guid[] orgId);
|
|
int GetCategoryCntInOrgs(params Guid[] orgIds);
|
|
IEnumerable<Category> LoadInOrgs(int pageindex, int pagesize, params Guid[] orgIds);
|
|
|
|
/// <summary>
|
|
/// 获取子分类ID
|
|
/// </summary>
|
|
Guid[] GetSubIds(Guid orgId);
|
|
|
|
void Delete(Guid id);
|
|
|
|
}
|
|
} |