示例#1
0
文件: Task.cs 项目: CoolWirya/BS
        public void Delete()
        {
            JTaskTable ActionTable = new JTaskTable();

            ActionTable.SetValueProperty(this);
            ActionTable.Delete();
        }
示例#2
0
文件: Task.cs 项目: CoolWirya/BS
        public void Save()
        {
            JTaskTable ActionTable = new JTaskTable();

            ActionTable.SetValueProperty(this);
            ActionTable.Update();
        }
示例#3
0
文件: Task.cs 项目: CoolWirya/BS
        // Insert , Update , Delete
        #region BaseFunctions
        public int Insert()
        {
            JTaskTable ActionTable = new JTaskTable();

            ActionTable.SetValueProperty(this);
            Code = ActionTable.Insert();
            if (Code > 0)
            {
                //JRefer Refer = new JRefer();
                //Refer.ObjectCode = Code;
                //Refer.Reciever = Creator;
                //Refer.Insert();
            }
            return(Code);
        }