public static IQueryOver <TEntity, TEntity> IsIn <TEntity, U>( this IQueryOver <TEntity, TEntity> query, Expression <Func <TEntity, object> > property, IList <U> parameters) { if (parameters != null && parameters.Any()) { query.IsInEmpty(property, parameters); } return(query); }