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); }
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); }
public bool Destroy(object Id) { return(TTestReason.Destroy(Id) == 1); }
public bool Delete(object Id) { return(TTestReason.Delete(Id) == 1); }