I have a filter politique throughout the application that use EntityFramework and winform, now i need to design a class to facilitate the filtering, like that

```
public class TextPredicatFilter<T>
{ 
    List<T> _list;
    List<CheckedPredicat> _listPredicat= new List<CheckedPredicat>();
    bool _active = true; 
    public TextPredicatFilter(BindingSource bs ,TextBox txtFilter, List<T> bindingList)
    {
        _list = bindingList;

        txtFilter.TextChanged += delegate
        {
            if (!_active)
                return; 
            foreach(CheckedPredicat prd in _listPredicat)
            {
                if(prd.CheckControl.Checked)
                {
                     bs.DataSource = new BindingList<T>(_list.Where(t=>t.GetType().GetProperty(prd.ColumnName).GetConstantValue().ToString() == txtFilter.Text).ToList<T>());
                }
            }
        };
    }
    public void Add(CheckedPredicat chkPredicat)
    {
        _listPredicat.Add(chkPredicat);
    }}

public class CheckedPredicat
{
    public RadioButton CheckControl { get; set; }
    public string ColumnName { get; set; }
    public bool UseLike { get; set; }       
}

```

but this does't work! any idea?