some good progress on refactoring into the KeyTyped repo for read only functionality

This commit is contained in:
Alexandre SPIESER
2019-04-04 22:48:09 +01:00
parent 69903fd69b
commit f773e599d0
6 changed files with 303 additions and 524 deletions
+3 -3
View File
@@ -63,8 +63,8 @@ namespace MongoDbGenericRepository
Client = new MongoClient(connectionString);
Database = Client.GetDatabase(databaseName);
}
/// <summary>
/// <summary>
/// The constructor of the MongoDbContext, it needs a connection string and a database name.
/// </summary>
/// <param name="client">The MongoClient.</param>
@@ -111,7 +111,7 @@ namespace MongoDbGenericRepository
/// Given the document type and the partition key, returns the name of the collection it belongs to.
/// </summary>
/// <typeparam name="TDocument">The type representing a Document.</typeparam>
/// <param name="partitionKey">The value of the partition key.</param>
/// <param name="partitionKey">The value of the partition key.</param>
/// <returns>The name of the collection.</returns>
private string GetCollectionName<TDocument>(string partitionKey)
{