示例#1
0
        public static KBRating GetKBRating(LoginUser loginUser, int kBRatingID)
        {
            KBRatings kBRatings = new KBRatings(loginUser);

            kBRatings.LoadByKBRatingID(kBRatingID);
            if (kBRatings.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(kBRatings[0]);
            }
        }
示例#2
0
 public KBRating(DataRow row, KBRatings kBRatings) : base(row, kBRatings)
 {
     _kBRatings = kBRatings;
 }