Lazy <Task <Dictionary <string, T> > > IAsyncLazySessionOperations.LoadStartingWithAsync <T>(string idPrefix, string matches, int start, int pageSize, string exclude, string startAfter, CancellationToken token) { var operation = new LazyStartsWithOperation <T>(idPrefix, matches, exclude, start, pageSize, this, startAfter); return(AddLazyOperation <Dictionary <string, T> >(operation, null, token)); }
Lazy <T[]> ILazySessionOperations.LoadStartingWith <T>(string keyPrefix, string matches, int start, int pageSize, string exclude, RavenPagingInformation pagingInformation) { IncrementRequestCount(); var cmds = GetCommandsToOperateOn(new ShardRequestData { EntityType = typeof(T), Keys = { keyPrefix } }); var lazyLoadOperation = new LazyStartsWithOperation <T>(keyPrefix, matches, exclude, start, pageSize, this, null); return(AddLazyOperation <T[]>(lazyLoadOperation, null, cmds)); }
Lazy <T[]> ILazySessionOperations.LoadStartingWith <T>(string keyPrefix, string matches, int start, int pageSize, string exclude, RavenPagingInformation pagingInformation) { var operation = new LazyStartsWithOperation <T>(keyPrefix, matches, exclude, start, pageSize, this, pagingInformation); return(AddLazyOperation <T[]>(operation, null)); }
Lazy <Dictionary <string, TResult> > ILazySessionOperations.LoadStartingWith <TResult>(string idPrefix, string matches, int start, int pageSize, string exclude, string startAfter) { var operation = new LazyStartsWithOperation <TResult>(idPrefix, matches, exclude, start, pageSize, this, startAfter); return(AddLazyOperation <Dictionary <string, TResult> >(operation, null)); }
Lazy <Task <T[]> > IAsyncLazySessionOperations.LoadStartingWithAsync <T>(string keyPrefix, string matches, int start, int pageSize, string exclude, RavenPagingInformation pagingInformation, string skipAfter, CancellationToken token) { var operation = new LazyStartsWithOperation <T>(keyPrefix, matches, exclude, start, pageSize, this, pagingInformation, skipAfter); return(AddLazyOperation <T[]>(operation, null, token)); }
Lazy <T[]> ILazySessionOperations.LoadStartingWith <T>(string keyPrefix, string matches, int start, int pageSize) { var operation = new LazyStartsWithOperation <T>(keyPrefix, matches, start, pageSize, this); return(AddLazyOperation <T[]>(operation, null)); }