2016-09-02 18:05:17 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2015-12-15 23:04:20 +08:00
|
|
|
|
using System.Linq;
|
|
|
|
|
|
|
|
|
|
namespace OpenAuth.Domain.Interface
|
|
|
|
|
{
|
|
|
|
|
public interface ICategoryRepository :IRepository<Category>
|
|
|
|
|
{
|
|
|
|
|
IEnumerable<Category> LoadCategorys(int pageindex, int pagesize);
|
|
|
|
|
|
2016-09-02 18:05:17 +08:00
|
|
|
|
IEnumerable<Category> LoadInOrgs(params Guid[] orgId);
|
|
|
|
|
int GetCategoryCntInOrgs(params Guid[] orgIds);
|
|
|
|
|
IEnumerable<Category> LoadInOrgs(int pageindex, int pagesize, params Guid[] orgIds);
|
2015-12-15 23:04:20 +08:00
|
|
|
|
|
2016-09-02 18:05:17 +08:00
|
|
|
|
void Delete(Guid id);
|
2015-12-15 23:04:20 +08:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|