Skip to content

Commit

Permalink
Update develop
Browse files Browse the repository at this point in the history
  • Loading branch information
emiliotorrens committed Jul 16, 2012
1 parent 14effbe commit 3027656
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ A .NET Object Mapper for MongoDB over MongoDB C# Driver

* [MongoDB distributions] (http://www.mongodb.org/downloads)
* [MongoDB Driver for CSharp] (http://github.com/mongodb/mongo-csharp-driver)
* [ServiceStack.Text] (http://github.com/ServiceStack/ServiceStack.Text)
* [NUnit] (http://www.nunit.org), [NUnit for Visual Studio] (http://nunitforvs.codeplex.com)

### Defining the Model

[Serializable]
[MongoKey(KeyFields = "Code")]
public class Country: MongoMapper
{
Expand All @@ -28,6 +28,7 @@ A .NET Object Mapper for MongoDB over MongoDB C# Driver
}
}

[Serializable]
[MongoKey(KeyFields = "")]
[MongoIndex(IndexFields = "ID,Country")]
[MongoIndex(IndexFields = "Name")]
Expand Down

0 comments on commit 3027656

Please sign in to comment.