Exposed core MongoDb driver objects and removed the AddedAtUtc property constraint from the IDocument interface.
This commit is contained in:
1 parent
b843f2de7f
commit
5e187e0b1f
16 files changed
+133
-52
No files matched your search
@@ -801,11 +801,6 @@ namespace MongoDbGenericRepository
|
||||
{
|
||||
document.Id = Guid.NewGuid();
|
||||
}
|
||||
|
||||
if (document.AddedAtUtc == default(DateTime))
|
||||
{
|
||||
document.AddedAtUtc = DateTime.UtcNow;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in new issue
Block a user