Exposed core MongoDb driver objects and removed the AddedAtUtc property constraint from the IDocument interface.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0-preview-20170810-02" />
|
||||
<PackageReference Include="MongoDB.Driver" Version="2.4.4" />
|
||||
<PackageReference Include="MongoDbGenericRepository" Version="1.2.0" />
|
||||
<PackageReference Include="MongoDbGenericRepository" Version="1.2.1" />
|
||||
<PackageReference Include="xunit" Version="2.3.0-beta5-build3769" />
|
||||
<PackageReference Include="xunit.runner.console" Version="2.3.0-beta5-build3769" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.0-beta5-build3769" />
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace IntegrationTests.Infrastructure
|
||||
{
|
||||
|
||||
const string connectionString = "mongodb://localhost:27017";
|
||||
private static readonly ITestRepository instance = new TestRepository(connectionString, "MongoDbTests");
|
||||
private static readonly ITestRepository _instance = new TestRepository(connectionString, "MongoDbTests");
|
||||
|
||||
// Explicit static constructor to tell C# compiler
|
||||
// not to mark type as beforefieldinit
|
||||
@@ -26,7 +26,7 @@ namespace IntegrationTests.Infrastructure
|
||||
{
|
||||
get
|
||||
{
|
||||
return instance;
|
||||
return _instance;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user