예제 #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);
 }