コード例 #1
0
        public void Insert(string SName, string SDesc, short IntSTT)
        {
            TblReason item = new TblReason();

            item.SName = SName;

            item.SDesc = SDesc;

            item.IntSTT = IntSTT;


            item.Save(UserName);
        }
コード例 #2
0
        public void Update(short Id, string SName, string SDesc, short IntSTT)
        {
            TblReason item = new TblReason();

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

            item.Id = Id;

            item.SName = SName;

            item.SDesc = SDesc;

            item.IntSTT = IntSTT;

            item.Save(UserName);
        }
コード例 #3
0
 public bool Destroy(object Id)
 {
     return(TblReason.Destroy(Id) == 1);
 }
コード例 #4
0
 public bool Delete(object Id)
 {
     return(TblReason.Delete(Id) == 1);
 }