コード例 #1
0
        public void Insert(int Id, string FullName, string ActiveYn, int?SortSeq)
        {
            var item = new TTestReason();

            item.Id = Id;

            item.FullName = FullName;

            item.ActiveYn = ActiveYn;

            item.SortSeq = SortSeq;


            item.Save(UserName);
        }
コード例 #2
0
        public void Update(int Id, string FullName, string ActiveYn, int?SortSeq)
        {
            var item = new TTestReason();

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

            item.Id = Id;

            item.FullName = FullName;

            item.ActiveYn = ActiveYn;

            item.SortSeq = SortSeq;

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