Esempio n. 1
0
 /// <summary>
 /// 根据主键查询
 /// </summary>
 /// <returns></returns>
 public virtual T GetById(string id)
 {
     return(CurrentDb.GetById(id));
 }
Esempio n. 2
0
 /// <summary>
 /// 根据主键查询
 /// </summary>
 /// <returns></returns>
 public virtual List <T> GetById(dynamic id)
 {
     return(CurrentDb.GetById(id));
 }
Esempio n. 3
0
 /// <summary>
 /// 根据主键查询
 /// </summary>
 /// <returns></returns>
 public virtual T GetById(int id)
 {
     return(CurrentDb.GetById(id));
 }