Exposed core MongoDb driver objects and removed the AddedAtUtc property constraint from the IDocument interface.
This commit is contained in:
@@ -8,10 +8,6 @@ namespace MongoDbGenericRepository.Models
|
||||
/// </summary>
|
||||
public interface IDocument
|
||||
{
|
||||
/// <summary>
|
||||
/// The date and UTC time at which the document was added to the collection.
|
||||
/// </summary>
|
||||
DateTime AddedAtUtc { get; set; }
|
||||
/// <summary>
|
||||
/// The Guid, which must be decorated with the [BsonId] attribute
|
||||
/// if you want the MongoDb C# driver to consider it to be the document ID.
|
||||
|
||||
Reference in New Issue
Block a user