Пример #1
0
        public void Insert(int ProductID, string ReviewerName, DateTime ReviewDate, string EmailAddress, int Rating, string Comments, DateTime ModifiedDate)
        {
            ProductReview item = new ProductReview();

            item.ProductID = ProductID;

            item.ReviewerName = ReviewerName;

            item.ReviewDate = ReviewDate;

            item.EmailAddress = EmailAddress;

            item.Rating = Rating;

            item.Comments = Comments;

            item.ModifiedDate = ModifiedDate;


            item.Save(UserName);
        }
Пример #2
0
 public bool Destroy(object ProductReviewID)
 {
     return(ProductReview.Destroy(ProductReviewID) == 1);
 }
Пример #3
0
 public bool Delete(object ProductReviewID)
 {
     return(ProductReview.Delete(ProductReviewID) == 1);
 }