Repository Class For Norm/Mongo
C#
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.nuget
NuGet fixed failing test Oct 15, 2014
ProMongoRepository
ProMongoRepositoryTests
.gitignore
ProMongoRepository.sln
README.markdown

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