public static Data.Models.Rating Map(Domain.Rating r) => new Data.Models.Rating
 {
     Rid            = r.RID,
     RatingScore    = r.RatingScore,
     RatingUid      = r.RatingUid,
     SurveyTakerUid = r.SurveyTakerUid,
     Mid            = r.Mid
 };
示例#2
0
        public override bool Equals(object obj)
        {
            Rating rating = ((Rating)obj);

            return(FanId == rating.FanId && ArtistId == rating.ArtistId);
        }