Subversion Repositories blog-sources

Compare Revisions

Regard whitespace Rev 9 → Rev 8

/mono-mongodb/Race/Race/Main.cs
1,6 → 1,5
using System;
 
using MongoDB.Bson.Serialization;
using MongoDB.Driver;
 
namespace Race
9,15 → 8,6
{
public static void Main (string[] args)
{
BsonClassMap.RegisterClassMap<Participant>
(
cm =>
{
cm.AutoMap();
cm.GetMemberMap(c => c.Email).SetIgnoreIfNull(true);
}
);
 
// Get a Reference to the Client Object.
string connectionString = "mongodb://localhost";
MongoClient client = new MongoClient(connectionString);
/mono-mongodb/Race/Race/Race.csproj
35,9 → 35,6
<Reference Include="MongoDB.Driver">
<HintPath>..\..\..\Downloads\CSharpDriver-1.9-rc0\MongoDB.Driver.dll</HintPath>
</Reference>
<Reference Include="MongoDB.Bson">
<HintPath>..\..\..\Downloads\CSharpDriver-1.9-rc0\MongoDB.Bson.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Main.cs" />