public FilterItem AddFilterItem(Filter filter, bool update) { FilterItem item = filter.CreateFilterItem(); if (update) { Update(filter); } return(item); }
internal void RemoveFilter(FilterItem filter) { this.items.Remove(filter); }
private void RemoveFilterItem(Filter filter, FilterItem item) { filter.RemoveFilter(item); this.Database.Data.Delete(item); }