Ejemplo n.º 1
0
        private void Writedb()
        {
            DataBaseTools.FieldListBuilder <Models.Benefit>(bnf, "Benefit");
            DataBaseTools.FieldListBuilder <Models.FoodItem>(fi, "FoodItem");
            DataBaseTools.FieldListBuilder <Models.Meal>(ml, "Meal");

            TBResults.Text = DataBaseTools.CreateDatabase();

            DataBaseTools.WriteRecord();
        }