public void Delete() { JTaskTable ActionTable = new JTaskTable(); ActionTable.SetValueProperty(this); ActionTable.Delete(); }
public void Save() { JTaskTable ActionTable = new JTaskTable(); ActionTable.SetValueProperty(this); ActionTable.Update(); }
// 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); }