Example #1
0
File: Task.cs Project: CoolWirya/BS
        public void Delete()
        {
            JTaskTable ActionTable = new JTaskTable();

            ActionTable.SetValueProperty(this);
            ActionTable.Delete();
        }
Example #2
0
File: Task.cs Project: CoolWirya/BS
        public void Save()
        {
            JTaskTable ActionTable = new JTaskTable();

            ActionTable.SetValueProperty(this);
            ActionTable.Update();
        }
Example #3
0
File: Task.cs Project: 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);
        }