public FavoritePropertyValue ToModel(FavoritePropertyValue model)
        {
            model.Id         = Id;
            model.PropertyId = PropertyId;
            model.Property   = Property.ToModel(AbstractTypeFactory <FavoriteProperty> .TryCreateInstance());
            model.ReviewId   = ReviewId;
            model.Rating     = Rating;

            return(model);
        }
        public FavoritePropertyValueEntity FromModel(FavoritePropertyValue model, PrimaryKeyResolvingMap pkMap)
        {
            pkMap.AddPair(model, this);

            Id         = model.Id;
            PropertyId = model.PropertyId;
            ReviewId   = model.ReviewId;
            Rating     = model.Rating;

            return(this);
        }