예제 #1
0
 /// <summary>
 /// Create an expand term using only the property and its subexpand/select
 /// </summary>
 /// <param name="pathToNavProp">the path to the navigation property for this expand term</param>
 /// <param name="selectOption">the sub select for this token</param>
 /// <param name="expandOption">the sub expand for this token</param>
 public ExpandTermToken(PathSegmentToken pathToNavProp, SelectToken selectOption, ExpandToken expandOption)
 {
     ExceptionUtils.CheckArgumentNotNull(pathToNavProp, "pathToNavigationProperty");
     this.pathToNavProp = pathToNavProp;
     this.filterOption  = null;
     this.orderByOption = null;
     this.topOption     = null;
     this.skipOption    = null;
     this.selectOption  = selectOption;
     this.expandOption  = expandOption;
 }
예제 #2
0
        /// <summary>
        /// Create an expand term token
        /// </summary>
        /// <param name="pathToNavProp">the nav prop for this expand term</param>
        /// <param name="filterOption">the filter option for this expand term</param>
        /// <param name="orderByOption">the orderby option for this expand term</param>
        /// <param name="topOption">the top option for this expand term</param>
        /// <param name="skipOption">the skip option for this expand term</param>
        /// <param name="inlineCountOption">the inlineCountOption for this expand term</param>
        /// <param name="selectOption">the select option for this expand term</param>
        /// <param name="expandOption">the expand option for this expand term</param>
        public ExpandTermToken(PathSegmentToken pathToNavProp, QueryToken filterOption, OrderByToken orderByOption, long?topOption, long?skipOption, InlineCountKind?inlineCountOption, SelectToken selectOption, ExpandToken expandOption)
        {
            ExceptionUtils.CheckArgumentNotNull(pathToNavProp, "property");

            this.pathToNavProp     = pathToNavProp;
            this.filterOption      = filterOption;
            this.orderByOption     = orderByOption;
            this.topOption         = topOption;
            this.skipOption        = skipOption;
            this.inlineCountOption = inlineCountOption;
            this.selectOption      = selectOption;
            this.expandOption      = expandOption;
        }
예제 #3
0
 /// <summary>
 /// Visits an OrderByToken
 /// </summary>
 /// <param name="tokenIn">The OrderByToken to bind</param>
 /// <returns>An OrderByClause bound to this OrderByToken</returns>
 public virtual T Visit(OrderByToken tokenIn)
 {
     throw new NotImplementedException();
 }