Example #1
0
        public void Insert(int UserStatusKey,string StatusDescription)
        {
            UserStatus item = new UserStatus();

            item.UserStatusKey = UserStatusKey;

            item.StatusDescription = StatusDescription;

            item.Save(UserName);
        }
Example #2
0
        public void Update(int UserStatusKey,string StatusDescription)
        {
            UserStatus item = new UserStatus();
            item.MarkOld();
            item.IsLoaded = true;

            item.UserStatusKey = UserStatusKey;

            item.StatusDescription = StatusDescription;

            item.Save(UserName);
        }