コード例 #1
0
 public void UpdateReview(ReviewInfo reviewInfo)
 {
     DataProvider.Instance().ExecuteNonQuery(
         "Store_Reviews_UpdateReview",
         reviewInfo.ReviewID,
         reviewInfo.UserName,
         reviewInfo.Rating,
         DataHelper.GetNull(reviewInfo.Comments),
         reviewInfo.Authorized);
 }
コード例 #2
0
 public void AddReview(ReviewInfo reviewInfo)
 {
     DataProvider.Instance().ExecuteNonQuery(
         "Store_Reviews_AddReview",
         reviewInfo.PortalID,
         reviewInfo.ProductID,
         reviewInfo.UserName,
         reviewInfo.Rating,
         DataHelper.GetNull(reviewInfo.Comments),
         reviewInfo.Authorized,
         DataHelper.GetNull(reviewInfo.CreatedDate));
 }