///<sumary> ///通过id获得实体对象 ///时间:2010-10-3 23:03:07 ///</sumary> public static User GetUserByPK(object pk) { try { return(userService.GetUserByPK(pk)); } catch (Exception ex) { //可以记录到异常日志 return(null); } }