Ejemplo n.º 1
0
 ///<sumary>
 ///通过id获得实体对象
 ///时间:2010-11-1 11:56:35
 ///</sumary>
 public static Rate GetRateByPK(object pk)
 {
     try
     {
         return(rateService.GetRateByPK(pk));
     }
     catch (Exception ex)
     {
         //可以记录到异常日志
         return(null);
     }
 }