ningshuxia
2023-02-03 293f7208cce22fe239b486a33324d95b228fe7d3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace IStation.IDAL
{
    public interface IQueryDAL<T> where T : Entity.BaseEntity, new()
    {
 
        /// <summary>
        /// 查询全部
        /// </summary>
        List<T> GetAll();
 
        /// <summary>
        /// 根据Id查询
        /// </summary>
        T GetByID(long Id);
 
        /// <summary>
        /// 通过Id集合查询
        /// </summary> 
        List<T> GetByIds(List<long> Ids);
 
    }
}