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

            tipo.Save();
            FillTree();
            entryType.Text    = "";
            entryType.IsFocus = true;
        }
示例#2
0
文件: ENTypeTest.cs 项目: 44r0n/Gebat
        public void ReadSave()
        {
            List <int> ids = new List <int>();

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

            food.Save();
        }
示例#3
0
文件: ENTypeTest.cs 项目: 44r0n/Gebat
        public void SaveNullName()
        {
            AEN food = new ENType(null);

            food.Save();
        }
示例#4
0
文件: ENTypeTest.cs 项目: 44r0n/Gebat
        public void Save()
        {
            AEN food = new ENType("Cajas");

            food.Save();
        }