The MongoDbRepository now has a constructor that takes an IMongoDatabase.
This commit is contained in:
@@ -53,5 +53,11 @@ namespace MongoDbGenericRepository
|
||||
/// </summary>
|
||||
/// <typeparam name="TDocument"></typeparam>
|
||||
void DropCollection<TDocument>(string partitionKey);
|
||||
|
||||
/// <summary>
|
||||
/// Sets the Guid representation of the MongoDb Driver.
|
||||
/// </summary>
|
||||
/// <param name="guidRepresentation">The new value of the GuidRepresentation</param>
|
||||
void SetGuidRepresentation(MongoDB.Bson.GuidRepresentation guidRepresentation);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user