read only and tests

This commit is contained in:
Sean Garrett committed 2023-07-01 22:27:11 +01:00
1 parent 240b61d1d2
commit 40e287418b
10 files changed
+2466 -492

No files matched your search

@@ -4,23 +4,21 @@ using MongoDbGenericRepository.Models;
namespace CoreUnitTests.Infrastructure.Model;
public class TestDocument : Document
{
public TestDocument()
{
Version = 2;
Nested = new Nested
{
SomeDate = DateTime.UtcNow
};
Nested = new Nested {SomeDate = DateTime.UtcNow};
Children = new List<Child>();
}
public int SomeValue { get; set; }
public string SomeContent { get; set; }
public string SomeContent2 { get; set; }
public string SomeContent3 { get; set; }
public int GroupingKey { get; set; }
@@ -29,4 +27,3 @@ public class TestDocument : Document
public List<Child> Children { get; set; }
}
@@ -7,4 +7,6 @@ public class TestProjection
public Guid TestDocumentId { get; set; }
public DateTime NestedData { get; set; }
public int Count { get; set; }
}