示例#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);
        }
示例#3
0
 public bool Destroy(object StatusCode)
 {
     return(LStatus.Destroy(StatusCode) == 1);
 }
示例#4
0
 public bool Delete(object StatusCode)
 {
     return(LStatus.Delete(StatusCode) == 1);
 }