///<sumary> ///通过id获得实体对象 ///时间:2010-9-17 20:45:48 ///</sumary> public static Matches GetMatchesByPK(object pk) { try { return(matchesService.GetMatchesByPK(pk)); } catch (Exception ex) { //可以记录到异常日志 return(null); } }