Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
 public bool Destroy(object Id)
 {
     return(ReviewStatus.Destroy(Id) == 1);
 }
Exemplo n.º 4
0
 public bool Delete(object Id)
 {
     return(ReviewStatus.Delete(Id) == 1);
 }