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