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