Exposed core MongoDb driver objects and removed the AddedAtUtc property constraint from the IDocument interface.

This commit is contained in:
alexandre-spieser
2017-09-23 18:57:56 +00:00
parent b843f2de7f
commit 5e187e0b1f
16 changed files with 133 additions and 52 deletions
@@ -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.