public virtual T GetOne(object id) { var query = QueryMapper.GetSelectOneQuery(id); var many = GetMany(query); return(many.FirstOrDefault()); }