Пример #1
0
 public OpenTypeQueryable(IQueryable <T> queryable, OpenTypeQueryProvider provider)
 {
     this.queryable = queryable;
     this.provider  = provider;
     Initialize(this.provider);
 }
Пример #2
0
 internal void Initialize(OpenTypeQueryProvider provider)
 {
     this.ContinuationToken = provider.ContinuationToken;
     this.ResourceType      = provider.ResourceType;
 }
Пример #3
0
        public void SetContinuationToken(IQueryable query, ResourceType resourceType, object[] continuationToken)
        {
            OpenTypeQueryProvider openQueryProvider = query.Provider as OpenTypeQueryProvider;

            openQueryProvider.ApplyContinuationToken(query, resourceType, continuationToken);
        }