How to insert a filter in my query the command is in a repository and I want to insert a filter in it, it can be by name for example.
Code:
public IList < T > Consultar() {
using(ISession session = FluentnHibernateHelper.OpenSession()) {
return (from e in session.Query < T > () select e).ToList();
}
}