コード例 #1
0
        public void Insert(int?Code, string CodeDescription, byte[] Ts)
        {
            NominalCodeTable item = new NominalCodeTable();

            item.Code = Code;

            item.CodeDescription = CodeDescription;

            item.Ts = Ts;


            item.Save(UserName);
        }
コード例 #2
0
        public void Update(int NominalCodeID, int?Code, string CodeDescription, byte[] Ts)
        {
            NominalCodeTable item = new NominalCodeTable();

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

            item.NominalCodeID = NominalCodeID;

            item.Code = Code;

            item.CodeDescription = CodeDescription;

            item.Ts = Ts;

            item.Save(UserName);
        }