示例#1
0
        public void Insert(string StatusCode, string StatusName)
        {
            LStatus item = new LStatus();

            item.StatusCode = StatusCode;

            item.StatusName = StatusName;


            item.Save(UserName);
        }
示例#2
0
        public void Update(string StatusCode, string StatusName)
        {
            LStatus item = new LStatus();

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

            item.StatusCode = StatusCode;

            item.StatusName = StatusName;

            item.Save(UserName);
        }