Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Repository Class For Norm/Mongo

branch: master
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.