OpenAuth.Net/OpenAuth.Domain/Interface/IStockRepository.cs
2017-10-11 16:19:34 +08:00

18 lines
500 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
namespace OpenAuth.Domain.Interface
{
public interface IStockRepository :IRepository<Stock>
{
IEnumerable<Stock> LoadStocks(int pageindex, int pagesize);
IEnumerable<Stock> LoadInOrgs(params string[] orgId);
int GetStockCntInOrgs(params string[] orgIds);
IEnumerable<Stock> LoadInOrgs(int pageindex, int pagesize, params string[] orgIds);
void Delete(string id);
}
}