コード例 #1
0
        public void Insert(string ParaId, string ParaName, string MeasureUnit, string Description)
        {
            var item = new TParaList();

            item.ParaId = ParaId;

            item.ParaName = ParaName;

            item.MeasureUnit = MeasureUnit;

            item.Description = Description;


            item.Save(UserName);
        }
コード例 #2
0
        public void Update(string ParaId, string ParaName, string MeasureUnit, string Description)
        {
            var item = new TParaList();

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

            item.ParaId = ParaId;

            item.ParaName = ParaName;

            item.MeasureUnit = MeasureUnit;

            item.Description = Description;

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