public static Criteria Add <T>(this Criteria criteria, string name, T value)
 {
     criteria = criteria.AddFilter(GetFilterExpression(name, value));
     return(criteria);
 }