示例#1
0
        public void Insert(int CategoryID,int LinkID)
        {
            CatLink item = new CatLink();

            item.CategoryID = CategoryID;

            item.LinkID = LinkID;

            item.Save(UserName);
        }
示例#2
0
        public void Update(int CatLinkID,int CategoryID,int LinkID)
        {
            CatLink item = new CatLink();
            item.MarkOld();
            item.IsLoaded = true;

            item.CatLinkID = CatLinkID;

            item.CategoryID = CategoryID;

            item.LinkID = LinkID;

            item.Save(UserName);
        }