Class CosmosDbRepository<T>
Inheritance
System.Object
CosmosDbRepository<T>
Assembly: Catalyst.Modules.Repository.CosmosDb.dll
Syntax
public class CosmosDbRepository<T> : DocumentDbRepository<T, string> where T : class, new()
Type Parameters
Constructors
|
Improve this Doc
View Source
CosmosDbRepository(String, String, String, Boolean, String, ICachingStrategy<T, String>)
Declaration
public CosmosDbRepository(string endpointUrl, string authorizationKey, string databaseId, bool createIfNotExists, string collectionId = null, ICachingStrategy<T, string> cachingStrategy = null)
Parameters
Type |
Name |
Description |
System.String |
endpointUrl |
|
System.String |
authorizationKey |
|
System.String |
databaseId |
|
System.Boolean |
createIfNotExists |
|
System.String |
collectionId |
|
ICachingStrategy<T, System.String> |
cachingStrategy |
|
Properties
|
Improve this Doc
View Source
Client
Declaration
public DocumentClient Client { get; }
Property Value
Type |
Description |
DocumentClient |
|
|
Improve this Doc
View Source
Database
Declaration
public Database Database { get; }
Property Value
Type |
Description |
Database |
|