/// <summary>
 /// Initializes a new instance of the <see cref="GetByFilterParameters"/> class.
 /// </summary>
 /// <param name="entityInfo">The entity info.</param>
 /// <param name="filter">The filter.</param>
 /// <param name="sort">The sort.</param>
 /// <param name="pageIndex">Index of the page.</param>
 /// <param name="pageSize">Size of the page.</param>
 public GetByFilterParameters(FilterExpression filter, SortExpression sort, int pageIndex, int pageSize)
     : this(filter, sort, pageIndex, pageSize, null, GetSourceTypeEnum.Table)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GetByFilterParameters"/> class.
 /// </summary>
 /// <param name="entityInfo">The entity info.</param>
 /// <param name="filter">The filter.</param>
 public GetByFilterParameters(FilterExpression filter)
     : this(filter, new SortExpression(), 0, -1, null, GetSourceTypeEnum.Table)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GetByFilterParameters"/> class.
 /// </summary>
 /// <param name="entityInfo">The entity info.</param>
 /// <param name="filter">The filter.</param>
 /// <param name="sort">The sort.</param>
 public GetByFilterParameters(FilterExpression filter, SortExpression sort)
     : this(filter, sort, 0, -1, null, GetSourceTypeEnum.Table)
 {
 }
Beispiel #4
0
        /// <summary>
        /// Adds the filter expression.
        /// </summary>
        /// <param name="filterExp">The filter exp.</param>
        public void AddFilterExpression(FilterExpression filterExp)
        {
            Check.Require(filterExp != null);

            FiltersList.Add(filterExp);
        }