Created
December 5, 2020 22:40
-
-
Save bpatra/52779d9c83f4ed2974c42165aaedc837 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IDocumentClientWrapped : IDisposable | |
{ | |
/* Some command like methods*/ | |
Task DeleteDocumentAsync(Uri uri); | |
Task CreateDocumentAsync(Uri uri, object obj); | |
/* Some query like methods*/ | |
IRetryQueryable<T> CreateDocumentQuery<T>(Uri documentUri, FeedOptions feedOptions = null); | |
IRetryQueryable<T> CreateDocumentQuery<T>(Uri documentCollectionUri, SqlQuerySpec sqlSpec); | |
/* Copy here all other public method signature from DocumentClient but return IRetryQueryable instead of IOrderedQueryable or IQueryable */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment