Skip to content
Repository Class For Norm/Mongo https://github.com/detroitpro/ProMongoRepository
C#
Find file
Latest commit e19d302 @detroitpro fixed failing test

README.markdown

ProMongoRepository

First; there is nothing "pro" about it. It's simply my (@detroitpro) base Mongo Repository class.

ProMongoRepository sits on top of the offical C# driver and FluentMongo to provide a simple repository pattern.

Usage

    [Test]
    public void Basic_Save()
    {
        var mongoRepository = new MongoRepository<User>();
        var user = new User() {Name = "Basic_Save"};
        mongoRepository.Save(user);
    }

Install via Nuget

Install-Package ProMongoRepository

More

Examples

Something went wrong with that request. Please try again.