Skip to content

Latest commit

 

History

History

README.md

uBeac.Repositories.MongoDB: Provides MongoDB repositories

Nuget version Nuget downloads

Start

Install the package with NuGet:

dotnet add package uBeac.Repositories.MongoDB

Create your MongoDB repositories

Just create an class and inherit from MongoEntityRepository:

public class YourRepository : MongoEntityRepository<YourEntityKey, YourEntity, YourMongoDbContext>
{
}

public class YourRepository : MongoEntityRepository<YourEntity, YourMongoDbContext>
{
}

You can use MongoDBContext or implement IMongoDBContext.