Exemple #1
0
        protected void InsQuant(object sender, EventArgs e)
        {
            ENType tipo = new ENType(entryType.Text);

            tipo.Save();
            FillTree();
            entryType.Text    = "";
            entryType.IsFocus = true;
        }
Exemple #2
0
        public void ReadSave()
        {
            List <int> ids = new List <int>();

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

            food.Save();
        }
Exemple #3
0
        public void SaveNullName()
        {
            AEN food = new ENType(null);

            food.Save();
        }
Exemple #4
0
        public void Save()
        {
            AEN food = new ENType("Cajas");

            food.Save();
        }