public T GetSingle(Func <FluentFilter <T>, FluentFilter <T> > filter)
        {
            FluentFilter <T> fluentFilter = new FluentFilter <T>();

            filter(fluentFilter);
            return(_db.SingleOrDefault <T>(GetSingleSelectQuery().Append(fluentFilter.Query)));
        }
        public IEnumerable <T> GetList(Func <FluentFilter <T>, FluentFilter <T> > filter)
        {
            FluentFilter <T> fluentFilter = new FluentFilter <T>();

            filter(fluentFilter);

            return(_db.Query <T>(GetSelectQuery().Append(fluentFilter.Query)));
        }