コード例 #1
0
        public void Insert(int TreasuryTypeKey,string TreasuryName,int? UserKey)
        {
            TreasuryType item = new TreasuryType();

            item.TreasuryTypeKey = TreasuryTypeKey;

            item.TreasuryName = TreasuryName;

            item.UserKey = UserKey;

            item.Save(UserName);
        }
コード例 #2
0
        public void Update(int TreasuryTypeKey,string TreasuryName,int? UserKey)
        {
            TreasuryType item = new TreasuryType();
            item.MarkOld();
            item.IsLoaded = true;

            item.TreasuryTypeKey = TreasuryTypeKey;

            item.TreasuryName = TreasuryName;

            item.UserKey = UserKey;

            item.Save(UserName);
        }