Exemplo n.º 1
0
 protected void deleteType(object sender, EventArgs e)
 {
     typeSelected.Delete();
     typeSelected           = null;
     buttonDelete.Sensitive = false;
     entrySearch.Text       = "";
     FillTree();
 }
Exemplo n.º 2
0
        public void ReadDelete()
        {
            List <int> ids = new List <int>();

            ids.Add(2);
            ENType food = (ENType) new ENType("").Read(ids);

            food.Delete();
        }