Пример #1
0
        public void Insert(int?ReviewID, int?Status, DateTime?DateAdded, bool Deleted)
        {
            ReviewStatus item = new ReviewStatus();

            item.ReviewID = ReviewID;

            item.Status = Status;

            item.DateAdded = DateAdded;

            item.Deleted = Deleted;


            item.Save(UserName);
        }
Пример #2
0
        public void Update(int Id, int?ReviewID, int?Status, DateTime?DateAdded, bool Deleted)
        {
            ReviewStatus item = new ReviewStatus();

            item.MarkOld();
            item.IsLoaded = true;

            item.Id = Id;

            item.ReviewID = ReviewID;

            item.Status = Status;

            item.DateAdded = DateAdded;

            item.Deleted = Deleted;

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