Esempio n. 1
0
        /// <summary>
        /// Creates the filter expression.
        /// </summary>
        /// <param name="parameter">The parameter.</param>
        /// <param name="filterDescriptor">The filter descriptor.</param>
        /// <returns>The created expression</returns>
        private Expression CreateFilterExpression(ParameterExpression parameter, FilterDescriptor filterDescriptor)
        {
            MemberBinder <TEntity> binder = this.GetBinding(filterDescriptor.MemberName);

            return(binder.CreateFilterExpression(parameter, filterDescriptor));
        }