private void _allDescendents(Entry ent, Entries ents) { ents.Add(ent); foreach (Entry child in ent.Entries) { _allDescendents(child, ents); } }
private void Setup(MySqlConnection conn, string listName) { _conn = conn; _listName = listName; _ents = new Entries(this); if (_dbLayer == null) { _dbLayer = new MySqlDBLayer(this); } }