Generated nuget package 1.2 and tests passing.

This commit is contained in:
alexandre-spieser
2017-09-09 19:13:32 +00:00
parent 39879f6f5f
commit 58cf1f1faf
37 changed files with 6095 additions and 72037 deletions
@@ -17,6 +17,11 @@ namespace MongoDbGenericRepository
MongoDefaults.GuidRepresentation = MongoDB.Bson.GuidRepresentation.Standard;
}
/// <summary>
/// The constructor of the MongoDbContext, it needs a connection string and a database name.
/// </summary>
/// <param name="connectionString"></param>
/// <param name="databaseName"></param>
public MongoDbContext(string connectionString, string databaseName)
{
_client = new MongoClient(connectionString);