Exposed core MongoDb driver objects and removed the AddedAtUtc property constraint from the IDocument interface.
This commit is contained in:
@@ -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