@@ -12,32 +12,32 @@ If you like or are using this project to learn or start your solution, please gi
1212
1313| Package | NuGet |
1414| ------------------------------------------| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
15- | MongoDB.Data.Infrastructure.Abstractions | [ ![ Nuget] ( https://img.shields.io/badge/nuget-v1.8.3 -blue ) ![ Nuget] ( https://img.shields.io/nuget/dt/MongoDB.Data.Infrastructure.Abstractions )] ( https://www.nuget.org/packages/MongoDB.Data.Infrastructure.Abstractions/1.8.3 ) |
16- | MongoDB.Data.QueryBuilder.Abstractions | [ ![ Nuget] ( https://img.shields.io/badge/nuget-v1.8.3 -blue ) ![ Nuget] ( https://img.shields.io/nuget/dt/MongoDB.Data.QueryBuilder.Abstractions )] ( https://www.nuget.org/packages/MongoDB.Data.QueryBuilder.Abstractions/1.8.3 ) |
17- | MongoDB.Data.Repository.Abstractions | [ ![ Nuget] ( https://img.shields.io/badge/nuget-v1.8.3 -blue ) ![ Nuget] ( https://img.shields.io/nuget/dt/MongoDB.Data.Repository.Abstractions )] ( https://www.nuget.org/packages/MongoDB.Data.Repository.Abstractions/1.8.3 ) |
18- | MongoDB.Data.UnitOfWork.Abstractions | [ ![ Nuget] ( https://img.shields.io/badge/nuget-v1.8.3 -blue ) ![ Nuget] ( https://img.shields.io/nuget/dt/MongoDB.Data.UnitOfWork.Abstractions )] ( https://www.nuget.org/packages/MongoDB.Data.UnitOfWork.Abstractions/1.8.3 ) |
15+ | MongoDB.Data.Infrastructure.Abstractions | [ ![ Nuget] ( https://img.shields.io/badge/nuget-v1.8.4 -blue ) ![ Nuget] ( https://img.shields.io/nuget/dt/MongoDB.Data.Infrastructure.Abstractions )] ( https://www.nuget.org/packages/MongoDB.Data.Infrastructure.Abstractions/1.8.4 ) |
16+ | MongoDB.Data.QueryBuilder.Abstractions | [ ![ Nuget] ( https://img.shields.io/badge/nuget-v1.8.4 -blue ) ![ Nuget] ( https://img.shields.io/nuget/dt/MongoDB.Data.QueryBuilder.Abstractions )] ( https://www.nuget.org/packages/MongoDB.Data.QueryBuilder.Abstractions/1.8.4 ) |
17+ | MongoDB.Data.Repository.Abstractions | [ ![ Nuget] ( https://img.shields.io/badge/nuget-v1.8.4 -blue ) ![ Nuget] ( https://img.shields.io/nuget/dt/MongoDB.Data.Repository.Abstractions )] ( https://www.nuget.org/packages/MongoDB.Data.Repository.Abstractions/1.8.4 ) |
18+ | MongoDB.Data.UnitOfWork.Abstractions | [ ![ Nuget] ( https://img.shields.io/badge/nuget-v1.8.4 -blue ) ![ Nuget] ( https://img.shields.io/nuget/dt/MongoDB.Data.UnitOfWork.Abstractions )] ( https://www.nuget.org/packages/MongoDB.Data.UnitOfWork.Abstractions/1.8.4 ) |
1919| ------------------------------------------| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
20- | MongoDB.Data.Generators | [ ![ Nuget] ( https://img.shields.io/badge/nuget-v1.8.3 -blue ) ![ Nuget] ( https://img.shields.io/nuget/dt/MongoDB.Data.Generators )] ( https://www.nuget.org/packages/MongoDB.Data.Generators/1.8.3 ) |
21- | MongoDB.Data.Infrastructure | [ ![ Nuget] ( https://img.shields.io/badge/nuget-v1.8.3 -blue ) ![ Nuget] ( https://img.shields.io/nuget/dt/MongoDB.Data.Infrastructure )] ( https://www.nuget.org/packages/MongoDB.Data.Infrastructure/1.8.3 ) |
22- | MongoDB.Data.QueryBuilder | [ ![ Nuget] ( https://img.shields.io/badge/nuget-v1.8.3 -blue ) ![ Nuget] ( https://img.shields.io/nuget/dt/MongoDB.Data.QueryBuilder )] ( https://www.nuget.org/packages/MongoDB.Data.QueryBuilder/1.8.3 ) |
23- | MongoDB.Data.Repository | [ ![ Nuget] ( https://img.shields.io/badge/nuget-v1.8.3 -blue ) ![ Nuget] ( https://img.shields.io/nuget/dt/MongoDB.Data.Repository )] ( https://www.nuget.org/packages/MongoDB.Data.Repository/1.8.3 ) |
24- | MongoDB.Data.UnitOfWork | [ ![ Nuget] ( https://img.shields.io/badge/nuget-v1.8.3 -blue ) ![ Nuget] ( https://img.shields.io/nuget/dt/MongoDB.Data.UnitOfWork )] ( https://www.nuget.org/packages/MongoDB.Data.UnitOfWork/1.8.3 ) |
20+ | MongoDB.Data.Generators | [ ![ Nuget] ( https://img.shields.io/badge/nuget-v1.8.4 -blue ) ![ Nuget] ( https://img.shields.io/nuget/dt/MongoDB.Data.Generators )] ( https://www.nuget.org/packages/MongoDB.Data.Generators/1.8.4 ) |
21+ | MongoDB.Data.Infrastructure | [ ![ Nuget] ( https://img.shields.io/badge/nuget-v1.8.4 -blue ) ![ Nuget] ( https://img.shields.io/nuget/dt/MongoDB.Data.Infrastructure )] ( https://www.nuget.org/packages/MongoDB.Data.Infrastructure/1.8.4 ) |
22+ | MongoDB.Data.QueryBuilder | [ ![ Nuget] ( https://img.shields.io/badge/nuget-v1.8.4 -blue ) ![ Nuget] ( https://img.shields.io/nuget/dt/MongoDB.Data.QueryBuilder )] ( https://www.nuget.org/packages/MongoDB.Data.QueryBuilder/1.8.4 ) |
23+ | MongoDB.Data.Repository | [ ![ Nuget] ( https://img.shields.io/badge/nuget-v1.8.4 -blue ) ![ Nuget] ( https://img.shields.io/nuget/dt/MongoDB.Data.Repository )] ( https://www.nuget.org/packages/MongoDB.Data.Repository/1.8.4 ) |
24+ | MongoDB.Data.UnitOfWork | [ ![ Nuget] ( https://img.shields.io/badge/nuget-v1.8.4 -blue ) ![ Nuget] ( https://img.shields.io/nuget/dt/MongoDB.Data.UnitOfWork )] ( https://www.nuget.org/packages/MongoDB.Data.UnitOfWork/1.8.4 ) |
2525
2626## Installation
2727
2828MongoDB.DataAccess is available on Nuget.
2929
3030```
31- Install-Package MongoDB.Data.Infrastructure.Abstractions -Version 1.8.3
32- Install-Package MongoDB.Data.QueryBuilder.Abstractions -Version 1.8.3
33- Install-Package MongoDB.Data.Repository.Abstractions -Version 1.8.3
34- Install-Package MongoDB.Data.UnitOfWork.Abstractions -Version 1.8.3
35-
36- Install-Package MongoDB.Data.Generators -Version 1.8.3
37- Install-Package MongoDB.Data.Infrastructure -Version 1.8.3
38- Install-Package MongoDB.Data.QueryBuilder -Version 1.8.3
39- Install-Package MongoDB.Data.Repository -Version 1.8.3
40- Install-Package MongoDB.Data.UnitOfWork -Version 1.8.3
31+ Install-Package MongoDB.Data.Infrastructure.Abstractions -Version 1.8.4
32+ Install-Package MongoDB.Data.QueryBuilder.Abstractions -Version 1.8.4
33+ Install-Package MongoDB.Data.Repository.Abstractions -Version 1.8.4
34+ Install-Package MongoDB.Data.UnitOfWork.Abstractions -Version 1.8.4
35+
36+ Install-Package MongoDB.Data.Generators -Version 1.8.4
37+ Install-Package MongoDB.Data.Infrastructure -Version 1.8.4
38+ Install-Package MongoDB.Data.QueryBuilder -Version 1.8.4
39+ Install-Package MongoDB.Data.Repository -Version 1.8.4
40+ Install-Package MongoDB.Data.UnitOfWork -Version 1.8.4
4141```
4242
4343** P.S.: MongoDB.Data.UnitOfWork depends on the other packages, so installing this package is enough.**
@@ -126,6 +126,10 @@ services.AddMongoDbContext<IMongoDbContext, BloggingContext>(
126126
127127// Register the UnitOfWork
128128services .AddMongoDbUnitOfWork <BloggingContext >();
129+
130+ // Or
131+ services .AddMongoDbUnitOfWork <BloggingContext >(" BloggingContext - TenantA" );
132+ services .AddMongoDbUnitOfWork <BloggingContext >(" BloggingContext - TenantB" );
129133```
130134
131135After that, use the structure in your code like that:
0 commit comments