username@email.com
2 天以前 529d8cb61421eb65d86559d3d2636ad405b87b41
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CY.Infrastructure.Domain;
using CY.Infrastructure.Query;
 
namespace CY.IBaseDAL
{
    public interface IGetModelTopN<T> where T : IAggregateRoot
    {
       /// <summary>
       /// 按条件获取N条前数据
       /// </summary>
       /// <param name="query"></param>
       /// <param name="topN"></param>
       /// <returns></returns>
        IEnumerable<T> SelectModelTopN(Query query, int topN);
    }
}