示例#1
0
        public void Insert(string Description, int?Visible, int?IsOperation)
        {
            DDTicketStatus item = new DDTicketStatus();

            item.Description = Description;

            item.Visible = Visible;

            item.IsOperation = IsOperation;


            item.Save(UserName);
        }
示例#2
0
        public void Update(int StatusID, string Description, int?Visible, int?IsOperation)
        {
            DDTicketStatus item = new DDTicketStatus();

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

            item.StatusID = StatusID;

            item.Description = Description;

            item.Visible = Visible;

            item.IsOperation = IsOperation;

            item.Save(UserName);
        }