diff --git a/CoreIntegrationTests/CoreIntegrationTests.csproj b/CoreIntegrationTests/CoreIntegrationTests.csproj index 720179b..17b30e3 100644 --- a/CoreIntegrationTests/CoreIntegrationTests.csproj +++ b/CoreIntegrationTests/CoreIntegrationTests.csproj @@ -9,16 +9,13 @@ + - - - - ..\..\..\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1\System.Configuration.dll diff --git a/CoreIntegrationTests/Infrastructure/MongoDbDocumentTestBase.cs b/CoreIntegrationTests/Infrastructure/MongoDbDocumentTestBase.cs index 105d7a8..2e2a108 100644 --- a/CoreIntegrationTests/Infrastructure/MongoDbDocumentTestBase.cs +++ b/CoreIntegrationTests/Infrastructure/MongoDbDocumentTestBase.cs @@ -1,4 +1,5 @@ -using MongoDbGenericRepository.Models; +using MongoDbGenericRepository; +using MongoDbGenericRepository.Models; using System; using System.Collections.Generic; using System.Diagnostics; @@ -30,7 +31,7 @@ namespace CoreIntegrationTests.Infrastructure _fixture.PartitionKey = PartitionKey; TestClassName = GetClassName(); MongoDbConfig.EnsureConfigured(); - SUT = TestRepository.Instance; + SUT = TestTKeyRepository.Instance; } protected T CreateTestDocument() @@ -63,7 +64,7 @@ namespace CoreIntegrationTests.Infrastructure /// /// SUT: System Under Test /// - protected static ITestRepository SUT { get; set; } + protected static ITestRepository SUT { get; set; } #region Add diff --git a/CoreIntegrationTests/Infrastructure/TestRepository.cs b/CoreIntegrationTests/Infrastructure/TestRepository.cs index 8b3145e..1ee0132 100644 --- a/CoreIntegrationTests/Infrastructure/TestRepository.cs +++ b/CoreIntegrationTests/Infrastructure/TestRepository.cs @@ -1,7 +1,43 @@ -using MongoDbGenericRepository; +using MongoDB.Bson; +using MongoDbGenericRepository; +using System; namespace CoreIntegrationTests.Infrastructure { + public interface ITestRepository : IBaseMongoRepository where TKey : IEquatable + { + void DropTestCollection(); + void DropTestCollection(string partitionKey); + } + + public class TestTKeyRepository : BaseMongoRepository, ITestRepository where TKey : IEquatable + { + const string connectionString = "mongodb://localhost:27017/MongoDbTests"; + private static readonly ITestRepository _instance = new TestTKeyRepository(connectionString); + /// + private TestTKeyRepository(string connectionString) : base(connectionString) + { + } + + public static ITestRepository Instance + { + get + { + return _instance; + } + } + + public void DropTestCollection() + { + MongoDbContext.DropCollection(); + } + + public void DropTestCollection(string partitionKey) + { + MongoDbContext.DropCollection(partitionKey); + } + } + /// /// A singleton implementation of the TestRepository /// diff --git a/MongoDbGenericRepository/Abstractions/IBaseMongoRepository.cs b/MongoDbGenericRepository/Abstractions/IBaseMongoRepository.cs index adfe39e..f163354 100644 --- a/MongoDbGenericRepository/Abstractions/IBaseMongoRepository.cs +++ b/MongoDbGenericRepository/Abstractions/IBaseMongoRepository.cs @@ -1,15 +1,14 @@ using MongoDB.Driver; +using MongoDbGenericRepository.Models; using System; using System.Collections.Generic; -using System.Threading.Tasks; using System.Linq.Expressions; -using MongoDbGenericRepository.Models; -using System.Linq; +using System.Threading.Tasks; namespace MongoDbGenericRepository { /// - /// The IBaseMongoRepository exposes the CRUD functionality of the BaseMongoRepository. + /// The IBaseMongoRepository interface exposes the CRUD functionality of the BaseMongoRepository. /// public interface IBaseMongoRepository : IReadOnlyMongoRepository, diff --git a/MongoDbGenericRepository/Abstractions/IBaseReadOnlyRepository.cs b/MongoDbGenericRepository/Abstractions/IBaseReadOnlyRepository.cs index 155a54c..1c4866d 100644 --- a/MongoDbGenericRepository/Abstractions/IBaseReadOnlyRepository.cs +++ b/MongoDbGenericRepository/Abstractions/IBaseReadOnlyRepository.cs @@ -8,6 +8,9 @@ using System.Threading.Tasks; namespace MongoDbGenericRepository { + /// + /// The IBaseReadOnlyRepository exposes the generic Read Only functionality of the BaseMongoRepository. + /// public interface IBaseReadOnlyRepository { /// @@ -154,7 +157,7 @@ namespace MongoDbGenericRepository /// The document type. /// The type of the primary key. /// A LINQ expression filter. - /// A property selector to order by descending. + /// A property selector to order by descending. /// An optional partitionKey. Task GetByMaxAsync(Expression> filter, Expression> orderByDescending, string partitionKey = null) where TDocument : IDocument @@ -166,7 +169,7 @@ namespace MongoDbGenericRepository /// The document type. /// The type of the primary key. /// A LINQ expression filter. - /// A property selector to order by descending. + /// A property selector to order by descending. /// An optional partitionKey. TDocument GetByMax(Expression> filter, Expression> orderByDescending, string partitionKey = null) where TDocument : IDocument @@ -201,10 +204,11 @@ namespace MongoDbGenericRepository /// /// The document type. /// The type of the primary key. + /// The type of the value used to order the query. /// A LINQ expression filter. /// A property selector to order by ascending. /// An optional partitionKey. - Task GetMaxValueAsync(Expression> filter, Expression> maxValueSelector, string partitionKey = null) + Task GetMaxValueAsync(Expression> filter, Expression> orderByAscending, string partitionKey = null) where TDocument : IDocument where TKey : IEquatable; @@ -213,8 +217,9 @@ namespace MongoDbGenericRepository /// /// The document type. /// The type of the primary key. + /// The type of the value used to order the query. /// A LINQ expression filter. - /// A property selector to order by ascending. + /// A property selector to order by ascending. /// An optional partitionKey. TValue GetMaxValue(Expression> filter, Expression> orderByDescending, string partitionKey = null) where TDocument : IDocument @@ -254,6 +259,7 @@ namespace MongoDbGenericRepository /// Sums the values of a selected field for a given filtered collection of documents. /// /// The type representing a Document. + /// The type of the primary key. /// A LINQ expression filter. /// The field you want to sum. /// The partition key of your document, if any. @@ -267,6 +273,7 @@ namespace MongoDbGenericRepository /// Sums the values of a selected field for a given filtered collection of documents. /// /// The type representing a Document. + /// The type of the primary key. /// A LINQ expression filter. /// The field you want to sum. /// The partition key of your document, if any. @@ -280,6 +287,7 @@ namespace MongoDbGenericRepository /// Sums the values of a selected field for a given filtered collection of documents. /// /// The type representing a Document. + /// The type of the primary key. /// A LINQ expression filter. /// The field you want to sum. /// The partition key of your document, if any. @@ -293,6 +301,7 @@ namespace MongoDbGenericRepository /// Sums the values of a selected field for a given filtered collection of documents. /// /// The type representing a Document. + /// The type of the primary key. /// A LINQ expression filter. /// The field you want to sum. /// The partition key of your document, if any. @@ -373,9 +382,9 @@ namespace MongoDbGenericRepository /// The type representing a Document. /// The type of the grouping criteria. /// The type of the projected group. - /// A LINQ expression filter. - /// The grouping criteria. - /// The projected group result. + /// The type of the primary key. + /// The grouping criteria. + /// The projected group result. /// The partition key of your document, if any. List GroupBy( Expression> groupingCriteria, @@ -392,6 +401,7 @@ namespace MongoDbGenericRepository /// The type representing a Document. /// The type of the grouping criteria. /// The type of the projected group. + /// The type of the primary key. /// A LINQ expression filter. /// The grouping criteria. /// The projected group result. diff --git a/MongoDbGenericRepository/KeyTypedRepository/BaseMongoRepository.TKey.Create.cs b/MongoDbGenericRepository/KeyTypedRepository/BaseMongoRepository.TKey.Create.cs index 216f47f..39e8865 100644 --- a/MongoDbGenericRepository/KeyTypedRepository/BaseMongoRepository.TKey.Create.cs +++ b/MongoDbGenericRepository/KeyTypedRepository/BaseMongoRepository.TKey.Create.cs @@ -6,6 +6,10 @@ using System.Threading.Tasks; namespace MongoDbGenericRepository { + /// + /// The interface exposing data insertion functionality for Key typed repositories. + /// + /// public interface IBaseMongoRepository_Create where TKey : IEquatable { /// @@ -45,10 +49,13 @@ namespace MongoDbGenericRepository /// The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. /// Its constructor must be given a connection string and a database name. /// - /// public abstract partial class BaseMongoRepository : IBaseMongoRepository_Create where TKey : IEquatable { - protected MongoDbCreator _mongoDbCreator; + private MongoDbCreator _mongoDbCreator; + + /// + /// The MongoDb accessor to insert data. + /// protected MongoDbCreator MongoDbCreator { get diff --git a/MongoDbGenericRepository/KeyTypedRepository/BaseMongoRepository.TKey.Delete.cs b/MongoDbGenericRepository/KeyTypedRepository/BaseMongoRepository.TKey.Delete.cs index d6d3097..f5a7b9f 100644 --- a/MongoDbGenericRepository/KeyTypedRepository/BaseMongoRepository.TKey.Delete.cs +++ b/MongoDbGenericRepository/KeyTypedRepository/BaseMongoRepository.TKey.Delete.cs @@ -7,13 +7,16 @@ using System.Threading.Tasks; namespace MongoDbGenericRepository { + /// + /// The interface exposing deletion functionality for Key typed repositories. + /// + /// The type of the document Id. public interface IBaseMongoRepository_Delete where TKey : IEquatable { /// /// Deletes a document. /// /// The type representing a Document. - /// The type of the primary key for a Document. /// The document you want to delete. /// The number of documents deleted. long DeleteOne(TDocument document) @@ -23,7 +26,6 @@ namespace MongoDbGenericRepository /// Asynchronously deletes a document matching the condition of the LINQ expression filter. /// /// The type representing a Document. - /// The type of the primary key for a Document. /// The document you want to delete. /// The number of documents deleted. Task DeleteOneAsync(TDocument document) @@ -33,7 +35,6 @@ namespace MongoDbGenericRepository /// Deletes a document matching the condition of the LINQ expression filter. /// /// The type representing a Document. - /// The type of the primary key for a Document. /// A LINQ expression filter. /// An optional partition key. /// The number of documents deleted. @@ -44,7 +45,6 @@ namespace MongoDbGenericRepository /// Asynchronously deletes a document matching the condition of the LINQ expression filter. /// /// The type representing a Document. - /// The type of the primary key for a Document. /// A LINQ expression filter. /// An optional partition key. /// The number of documents deleted. @@ -55,7 +55,6 @@ namespace MongoDbGenericRepository /// Asynchronously deletes the documents matching the condition of the LINQ expression filter. /// /// The type representing a Document. - /// The type of the primary key for a Document. /// A LINQ expression filter. /// An optional partition key. /// The number of documents deleted. @@ -66,7 +65,6 @@ namespace MongoDbGenericRepository /// Asynchronously deletes a list of documents. /// /// The type representing a Document. - /// The type of the primary key for a Document. /// The list of documents to delete. /// The number of documents deleted. Task DeleteManyAsync(IEnumerable documents) @@ -76,7 +74,6 @@ namespace MongoDbGenericRepository /// Deletes a list of documents. /// /// The type representing a Document. - /// The type of the primary key for a Document. /// The list of documents to delete. /// The number of documents deleted. long DeleteMany(IEnumerable documents) @@ -86,7 +83,6 @@ namespace MongoDbGenericRepository /// Deletes the documents matching the condition of the LINQ expression filter. /// /// The type representing a Document. - /// The type of the primary key for a Document. /// A LINQ expression filter. /// An optional partition key. /// The number of documents deleted. @@ -98,6 +94,10 @@ namespace MongoDbGenericRepository where TKey : IEquatable { private MongoDbEraser _mongoDbEraser; + + /// + /// The MongoDb accessor to delete data. + /// protected MongoDbEraser MongoDbEraser { get @@ -119,7 +119,6 @@ namespace MongoDbGenericRepository /// Deletes a document. /// /// The type representing a Document. - /// The type of the primary key for a Document. /// The document you want to delete. /// The number of documents deleted. public virtual long DeleteOne(TDocument document) @@ -132,7 +131,6 @@ namespace MongoDbGenericRepository /// Asynchronously deletes a document matching the condition of the LINQ expression filter. /// /// The type representing a Document. - /// The type of the primary key for a Document. /// The document you want to delete. /// The number of documents deleted. public virtual async Task DeleteOneAsync(TDocument document) @@ -145,7 +143,6 @@ namespace MongoDbGenericRepository /// Deletes a document matching the condition of the LINQ expression filter. /// /// The type representing a Document. - /// The type of the primary key for a Document. /// A LINQ expression filter. /// An optional partition key. /// The number of documents deleted. @@ -159,7 +156,6 @@ namespace MongoDbGenericRepository /// Asynchronously deletes a document matching the condition of the LINQ expression filter. /// /// The type representing a Document. - /// The type of the primary key for a Document. /// A LINQ expression filter. /// An optional partition key. /// The number of documents deleted. @@ -173,7 +169,6 @@ namespace MongoDbGenericRepository /// Asynchronously deletes the documents matching the condition of the LINQ expression filter. /// /// The type representing a Document. - /// The type of the primary key for a Document. /// A LINQ expression filter. /// An optional partition key. /// The number of documents deleted. @@ -187,7 +182,6 @@ namespace MongoDbGenericRepository /// Asynchronously deletes a list of documents. /// /// The type representing a Document. - /// The type of the primary key for a Document. /// The list of documents to delete. /// The number of documents deleted. public virtual async Task DeleteManyAsync(IEnumerable documents) @@ -200,7 +194,6 @@ namespace MongoDbGenericRepository /// Deletes a list of documents. /// /// The type representing a Document. - /// The type of the primary key for a Document. /// The list of documents to delete. /// The number of documents deleted. public virtual long DeleteMany(IEnumerable documents) @@ -213,7 +206,6 @@ namespace MongoDbGenericRepository /// Deletes the documents matching the condition of the LINQ expression filter. /// /// The type representing a Document. - /// The type of the primary key for a Document. /// A LINQ expression filter. /// An optional partition key. /// The number of documents deleted. diff --git a/MongoDbGenericRepository/KeyTypedRepository/BaseMongoRepository.TKey.Index.cs b/MongoDbGenericRepository/KeyTypedRepository/BaseMongoRepository.TKey.Index.cs index 1807ab2..092c90d 100644 --- a/MongoDbGenericRepository/KeyTypedRepository/BaseMongoRepository.TKey.Index.cs +++ b/MongoDbGenericRepository/KeyTypedRepository/BaseMongoRepository.TKey.Index.cs @@ -7,6 +7,10 @@ using System.Threading.Tasks; namespace MongoDbGenericRepository { + /// + /// The interface exposing index management functionality for Key typed repositories. + /// + /// public interface IBaseMongoRepository_Index where TKey : IEquatable { /// @@ -97,11 +101,14 @@ namespace MongoDbGenericRepository /// The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. /// Its constructor must be given a connection string and a database name. /// - /// public abstract partial class BaseMongoRepository : IBaseMongoRepository_Index where TKey : IEquatable { private MongoDbIndexHandler _mongoDbIndexHandler; + + /// + /// The MongoDb accessor to manage indexes. + /// protected MongoDbIndexHandler MongoDbIndexHandler { get diff --git a/MongoDbGenericRepository/KeyTypedRepository/BaseMongoRepository.TKey.Main.cs b/MongoDbGenericRepository/KeyTypedRepository/BaseMongoRepository.TKey.Main.cs index ef79b46..ed47b0a 100644 --- a/MongoDbGenericRepository/KeyTypedRepository/BaseMongoRepository.TKey.Main.cs +++ b/MongoDbGenericRepository/KeyTypedRepository/BaseMongoRepository.TKey.Main.cs @@ -4,7 +4,11 @@ using System; namespace MongoDbGenericRepository { - public interface IBaseMongoDbRepository : + /// + /// The interface exposing all the CRUD and Index functionalities for Key typed repositories. + /// + /// The type of the document Id. + public interface IBaseMongoRepository : IReadOnlyMongoRepository, IBaseMongoRepository_Create, IBaseMongoRepository_Delete, @@ -18,13 +22,14 @@ namespace MongoDbGenericRepository /// The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. /// Its constructor must be given a connection string and a database name. /// - /// + /// The type of the document Id. public abstract partial class BaseMongoRepository : ReadOnlyMongoRepository, - IBaseMongoDbRepository + IBaseMongoRepository where TKey : IEquatable { - protected readonly object _initLock = new object(); + + private readonly object _initLock = new object(); /// /// The constructor taking a connection string and a database name. diff --git a/MongoDbGenericRepository/MongoDbGenericRepository.nuspec b/MongoDbGenericRepository/MongoDbGenericRepository.nuspec index 6610a28..c82497c 100644 --- a/MongoDbGenericRepository/MongoDbGenericRepository.nuspec +++ b/MongoDbGenericRepository/MongoDbGenericRepository.nuspec @@ -2,7 +2,7 @@ MongoDbGenericRepository - 1.3.8 + 1.3.9 MongoDb Generic Repository Alexandre Spieser Alexandre Spieser @@ -11,7 +11,7 @@ false A generic repository implementation using the MongoDB C# Sharp 2.0 driver. Release notes are at https://github.com/alexandre-spieser/mongodb-generic-repository/releases - Copyright 2018 (c) Alexandre Spieser. All rights reserved. + Copyright 2019 (c) Alexandre Spieser. All rights reserved. MongoDb Repository Generic NoSql diff --git a/MongoDbGenericRepository/ReadOnlyMongoRepository.cs b/MongoDbGenericRepository/ReadOnlyMongoRepository.cs index 2a3f9ba..e9ed276 100644 --- a/MongoDbGenericRepository/ReadOnlyMongoRepository.cs +++ b/MongoDbGenericRepository/ReadOnlyMongoRepository.cs @@ -261,8 +261,9 @@ namespace MongoDbGenericRepository /// /// The document type. /// The type of the primary key. + /// The type of the value used to order the query. /// A LINQ expression filter. - /// A property selector to order by ascending. + /// A property selector to select the max value. /// An optional partitionKey. public async virtual Task GetMaxValueAsync(Expression> filter, Expression> maxValueSelector, string partitionKey = null) where TDocument : IDocument @@ -327,6 +328,7 @@ namespace MongoDbGenericRepository /// Sums the values of a selected field for a given filtered collection of documents. /// /// The type representing a Document. + /// The type of the primary key. /// A LINQ expression filter. /// The field you want to sum. /// The partition key of your document, if any. @@ -343,6 +345,7 @@ namespace MongoDbGenericRepository /// Sums the values of a selected field for a given filtered collection of documents. /// /// The type representing a Document. + /// The type of the primary key. /// A LINQ expression filter. /// The field you want to sum. /// The partition key of your document, if any. @@ -359,6 +362,7 @@ namespace MongoDbGenericRepository /// Sums the values of a selected field for a given filtered collection of documents. /// /// The type representing a Document. + /// The type of the primary key. /// A LINQ expression filter. /// The field you want to sum. /// The partition key of your document, if any. @@ -375,6 +379,7 @@ namespace MongoDbGenericRepository /// Sums the values of a selected field for a given filtered collection of documents. /// /// The type representing a Document. + /// The type of the primary key. /// A LINQ expression filter. /// The field you want to sum. /// The partition key of your document, if any. @@ -468,11 +473,11 @@ namespace MongoDbGenericRepository /// and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. /// /// The type representing a Document. + /// The type of the primary key for a Document. /// The type of the grouping criteria. /// The type of the projected group. - /// A LINQ expression filter. - /// The grouping criteria. - /// The projected group result. + /// The grouping criteria. + /// The projected group result. /// The partition key of your document, if any. public virtual List GroupBy( Expression> groupingCriteria, @@ -490,6 +495,7 @@ namespace MongoDbGenericRepository /// and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. /// /// The type representing a Document. + /// The type of the primary key for a Document. /// The type of the grouping criteria. /// The type of the projected group. /// A LINQ expression filter. @@ -613,7 +619,6 @@ namespace MongoDbGenericRepository /// Gets a collections for a potentially partitioned document type. /// /// The document type. - /// The type of the primary key. /// The document. /// public virtual IMongoCollection HandlePartitioned(TDocument document) diff --git a/MongoDbGenericRepository/lib/net45/MongoDbGenericRepository.dll b/MongoDbGenericRepository/lib/net45/MongoDbGenericRepository.dll index 901f74a..93c1b65 100644 Binary files a/MongoDbGenericRepository/lib/net45/MongoDbGenericRepository.dll and b/MongoDbGenericRepository/lib/net45/MongoDbGenericRepository.dll differ diff --git a/MongoDbGenericRepository/lib/net45/MongoDbGenericRepository.xml b/MongoDbGenericRepository/lib/net45/MongoDbGenericRepository.xml index aa5ec45..817687c 100644 --- a/MongoDbGenericRepository/lib/net45/MongoDbGenericRepository.xml +++ b/MongoDbGenericRepository/lib/net45/MongoDbGenericRepository.xml @@ -6,502 +6,9 @@ - The IBaseMongoRepository exposes the CRUD functionality of the BaseMongoRepository. + The IBaseMongoRepository interface exposes the CRUD functionality of the BaseMongoRepository. - - - Asynchronously adds a document to the collection. - - The type representing a Document. - The document you want to add. - - - - Adds a document to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The document you want to add. - - - - Asynchronously adds a list of documents to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The document you want to add. - - - - Adds a list of documents to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The document you want to add. - - - - Asynchronously adds a document to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to add. - - - - Adds a document to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to add. - - - - Asynchronously adds a list of documents to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The type of the primary key for a Document. - The documents you want to add. - - - - Adds a list of documents to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The type of the primary key for a Document. - The documents you want to add. - - - - Asynchronously Updates a document. - - The type representing a Document. - The document with the modifications you want to persist. - - - - Updates a document. - - The type representing a Document. - The document with the modifications you want to persist. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - For the entity selected by the filter, updates the property field with the given value. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The document you want to modify. - The update definition for the document. - - - - For the entity selected by the filter, updates the property field with the given value. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The document you want to modify. - The update definition for the document. - - - - Asynchronously Updates a document. - - The type representing a Document. - The type of the primary key for a Document. - The document with the modifications you want to persist. - - - - Updates a document. - - The type representing a Document. - The type of the primary key for a Document. - The document with the modifications you want to persist. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to modify. - The update definition for the document. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to modify. - The update definition for the document. - - - - For the entity selected by the filter, updates the property field with the given value.. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - For the entity selected by the filter, updates the property field with the given value. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - Asynchronously deletes a document. - - The type representing a Document. - The document you want to delete. - The number of documents deleted. - - - - Asynchronously deletes a document matching the condition of the LINQ expression filter. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Deletes a document. - - The type representing a Document. - The document you want to delete. - The number of documents deleted. - - - - Deletes a document matching the condition of the LINQ expression filter. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Asynchronously deletes the documents matching the condition of the LINQ expression filter. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Asynchronously deletes a list of documents. - - The type representing a Document. - The list of documents to delete. - The number of documents deleted. - - - - Deletes a list of documents. - - The type representing a Document. - The list of documents to delete. - The number of documents deleted. - - - - Deletes the documents matching the condition of the LINQ expression filter. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Deletes a document. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to delete. - The number of documents deleted. - - - - Asynchronously deletes a document matching the condition of the LINQ expression filter. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to delete. - The number of documents deleted. - - - - Deletes a document matching the condition of the LINQ expression filter. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Asynchronously deletes a document matching the condition of the LINQ expression filter. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Asynchronously deletes the documents matching the condition of the LINQ expression filter. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Asynchronously deletes a list of documents. - - The type representing a Document. - The type of the primary key for a Document. - The list of documents to delete. - The number of documents deleted. - - - - Deletes a list of documents. - - The type representing a Document. - The type of the primary key for a Document. - The list of documents to delete. - The number of documents deleted. - - - - Deletes the documents matching the condition of the LINQ expression filter. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Asynchronously returns a projected document matching the filter condition. - - The type representing a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Asynchronously returns a projected document matching the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Returns a projected document matching the filter condition. - - The type representing a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Returns a projected document matching the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Asynchronously returns a list of projected documents matching the filter condition. - - The type representing a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Asynchronously returns a list of projected documents matching the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Asynchronously returns a list of projected documents matching the filter condition. - - The type representing a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Asynchronously returns a list of projected documents matching the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - Asynchronously returns a paginated list of the documents matching the filter condition. @@ -544,19 +51,289 @@ - + - Groups a collection of documents given a grouping criteria, - and returns a list of projected documents. + The IBaseReadOnlyRepository exposes the generic Read Only functionality of the BaseMongoRepository. + + + + + The connection string. + + + + + The database name. + + + + + Asynchronously returns one document given its id. The type representing a Document. - The type of the grouping criteria. - The type of the projected group. - The grouping criteria. - The projected group result. + The type of the primary key for a Document. + The Id of the document you want to get. + An optional partition key. + + + + Returns one document given its id. + + The type representing a Document. + The type of the primary key for a Document. + The Id of the document you want to get. + An optional partition key. + + + + Asynchronously returns one document given an expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns one document given an expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns a collection cursor. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns true if any of the document of the collection matches the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns true if any of the document of the collection matches the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Asynchronously returns a list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns a list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Asynchronously counts how many documents match the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partitionKey + + + + Counts how many documents match the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partitionKey + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by descending. + An optional partitionKey. + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by descending. + An optional partitionKey. + + + + Gets the document with the minimum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the document with the minimum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partition key. + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partition key. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. The partition key of your document, if any. - + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Asynchronously returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + + The projection expression. + An optional partition key. + + + + Returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + + The projection expression. + An optional partition key. + + Groups filtered a collection of documents given a grouping criteria, and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. @@ -564,174 +341,49 @@ The type representing a Document. The type of the grouping criteria. The type of the projected group. - - The grouping criteria. - The projected group result. + The type of the primary key. + The grouping criteria. + The projected group result. The partition key of your document, if any. - + - The repository interface for managing indexes - - - - - Create a text index on the given field. - IndexCreationOptions can be supplied to further specify - how the creation should be done. + Groups filtered a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. The type representing a Document. - The field we want to index. - Options for creating an index. - An optional partition key. - The result of the create index operation. + The type of the grouping criteria. + The type of the projected group. + The type of the primary key. + A LINQ expression filter. + The grouping criteria. + The projected group result. + The partition key of your document, if any. - + - Create a text index on the given field. - IndexCreationOptions can be supplied to further specify - how the creation should be done. + Asynchronously returns a paginated list of the documents matching the filter condition. The type representing a Document. The type of the primary key for a Document. - The field we want to index. - Options for creating an index. + A LINQ expression filter. + The property selector. + Order of the sorting. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. An optional partition key. - The result of the create index operation. - + - Creates an index on the given field in ascending order. - IndexCreationOptions can be supplied to further specify - how the creation should be done. - - The type representing a Document. - The field we want to index. - Options for creating an index. - An optional partition key. - The result of the create index operation. - - - - Creates an index on the given field in ascending order. - IndexCreationOptions can be supplied to further specify - how the creation should be done. + Asynchronously returns a paginated list of the documents matching the filter condition. The type representing a Document. The type of the primary key for a Document. - The field we want to index. - Options for creating an index. + A LINQ expression filter. + The sort definition. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. An optional partition key. - The result of the create index operation. - - - - Creates an index on the given field in descending order. - IndexCreationOptions can be supplied to further specify - how the creation should be done. - - The type representing a Document. - The field we want to index. - Options for creating an index. - An optional partition key. - A string containing the result of the operation. - - - - Creates an index on the given field in descending order. - IndexCreationOptions can be supplied to further specify - how the creation should be done. - - The type representing a Document. - The type of the primary key for a Document. - The field we want to index. - Options for creating an index. - An optional partition key. - The result of the create index operation. - - - - Creates a hashed index on the given field. - IndexCreationOptions can be supplied to further specify - how the creation should be done. - - The type representing a Document. - The field we want to index. - Options for creating an index. - An optional partition key. - A string containing the result of the operation. - - - - Creates a hashed index on the given field. - IndexCreationOptions can be supplied to further specify - how the creation should be done. - - The type representing a Document. - The type of the primary key for a Document. - The field we want to index. - Options for creating an index. - An optional partition key. - The result of the create index operation. - - - - Creates a combined text index. - IndexCreationOptions can be supplied to further specify - how the creation should be done. - - The type representing a Document. - The fields we want to index. - Options for creating an index. - An optional partition key. - The result of the create index operation. - - - - Creates a combined text index. - IndexCreationOptions can be supplied to further specify - how the creation should be done. - - The type representing a Document. - The type of the primary key for a Document. - The fields we want to index. - Options for creating an index. - An optional partition key. - The result of the create index operation. - - - - Drops the index given a field name - - The type representing a Document. - The name of the index - An optional partition key - - - - Drops the index given a field name - - The type representing a Document. - The type of the primary key for a Document. - The name of the index - An optional partition key - - - - Returns the names of the indexes present on a collection. - - The type representing a Document. - An optional partition key - A list containing the names of the indexes on on the concerned collection. - - - - Returns the names of the indexes present on a collection. - - The type representing a Document. - The type of the primary key for a Document. - An optional partition key - A list containing the names of the indexes on on the concerned collection. @@ -772,17 +424,7 @@ The IReadOnlyMongoRepository exposes the readonly functionality of the BaseMongoRepository. - - - The connection string. - - - - - The database name. - - - + Asynchronously returns one document given its id. @@ -790,7 +432,7 @@ The Id of the document you want to get. An optional partition key. - + Returns one document given its id. @@ -798,7 +440,7 @@ The Id of the document you want to get. An optional partition key. - + Asynchronously returns one document given an expression filter. @@ -806,7 +448,7 @@ A LINQ expression filter. An optional partition key. - + Returns one document given an expression filter. @@ -814,7 +456,7 @@ A LINQ expression filter. An optional partition key. - + Returns a collection cursor. @@ -822,7 +464,7 @@ A LINQ expression filter. An optional partition key. - + Asynchronously returns true if any of the document of the collection matches the filter condition. @@ -830,7 +472,7 @@ A LINQ expression filter. An optional partition key. - + Returns true if any of the document of the collection matches the filter condition. @@ -838,7 +480,7 @@ A LINQ expression filter. An optional partition key. - + Asynchronously returns a list of the documents matching the filter condition. @@ -846,7 +488,7 @@ A LINQ expression filter. An optional partition key. - + Returns a list of the documents matching the filter condition. @@ -854,7 +496,7 @@ A LINQ expression filter. An optional partition key. - + Asynchronously counts how many documents match the filter condition. @@ -862,7 +504,7 @@ A LINQ expression filter. An optional partition key. - + Counts how many documents match the filter condition. @@ -870,106 +512,7 @@ A LINQ expression filter. An optional partition key. - - - Asynchronously returns one document given its id. - - The type representing a Document. - The type of the primary key for a Document. - The Id of the document you want to get. - An optional partition key. - - - - Returns one document given its id. - - The type representing a Document. - The type of the primary key for a Document. - The Id of the document you want to get. - An optional partition key. - - - - Asynchronously returns one document given an expression filter. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns one document given an expression filter. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns a collection cursor. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns true if any of the document of the collection matches the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns true if any of the document of the collection matches the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - - - - Asynchronously returns a list of the documents matching the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns a list of the documents matching the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - - - - Asynchronously counts how many documents match the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partitionKey - - - - Counts how many documents match the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partitionKey - - + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. @@ -978,7 +521,7 @@ A property selector to order by descending. An optional partitionKey. - + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. @@ -988,7 +531,7 @@ An optional partitionKey. - + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. @@ -997,7 +540,7 @@ A property selector to order by ascending. An optional partitionKey. - + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. @@ -1006,47 +549,7 @@ A property selector to order by ascending. An optional partitionKey. - - - Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - The type of the primary key. - A LINQ expression filter. - A property selector to order by descending. - An optional partitionKey. - - - - Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - The type of the primary key. - A LINQ expression filter. - A property selector to order by descending. - An optional partitionKey. - - - - Gets the document with the minimum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - The type of the primary key. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - - - - Gets the document with the minimum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - The type of the primary key. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - - + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. @@ -1056,17 +559,7 @@ A property selector to order by ascending. An optional partitionKey. - - - Gets the maximum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the primary key. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - - + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. @@ -1076,17 +569,7 @@ A property selector to order by ascending. An optional partitionKey. - - - Gets the maximum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the primary key. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - - + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. @@ -1096,18 +579,7 @@ A property selector to order by ascending. An optional partition key. - - - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the primary key. - The type of the value used to order the query. - A LINQ expression filter. - A property selector to order by ascending. - An optional partition key. - - + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. @@ -1117,17 +589,108 @@ A property selector to order by ascending. An optional partition key. - + - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + Sums the values of a selected field for a given filtered collection of documents. - The document type. - The type of the primary key. - The type of the value used to order the query. + The type representing a Document. A LINQ expression filter. - A property selector to order by ascending. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Asynchronously returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. An optional partition key. + + + Returns a projected document matching the filter condition. + + The type representing a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Groups a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the grouping criteria. + The type of the projected group. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + + + + Groups filtered a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the grouping criteria. + The type of the projected group. + A LINQ expression filter. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + This attribute allows you to specify of the name of the collection. @@ -1148,6 +711,42 @@ The name of the collection. + + + Asynchronously adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to add. + + + + Adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to add. + + + + Asynchronously adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The documents you want to add. + + + + Adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The documents you want to add. + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. @@ -1157,57 +756,14 @@ The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. Its constructor must be given a connection string and a database name. - - - The constructor taking a connection string and a database name. + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. + Its constructor must be given a connection string and a database name. - The connection string of the MongoDb server. - The name of the database against which you want to perform operations. - - - The contructor taking a . + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. + Its constructor must be given a connection string and a database name. - A mongodb context implementing - - - - The contructor taking a . - - A mongodb context implementing - - - - Asynchronously adds a document to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The document you want to add. - - - - Adds a document to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The document you want to add. - - - - Asynchronously adds a list of documents to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The documents you want to add. - - - - Adds a list of documents to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The documents you want to add. @@ -1218,6 +774,14 @@ The type of the primary key for a Document. The document you want to add. + + + Asynchronously adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The document you want to add. + Adds a document to the collection. @@ -1227,6 +791,14 @@ The type of the primary key for a Document. The document you want to add. + + + Adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The document you want to add. + Asynchronously adds a list of documents to the collection. @@ -1236,6 +808,14 @@ The type of the primary key for a Document. The documents you want to add. + + + Asynchronously adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The documents you want to add. + Adds a list of documents to the collection. @@ -1245,203 +825,13 @@ The type of the primary key for a Document. The documents you want to add. - + - Asynchronously Updates a document. + Adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. The type representing a Document. - The document with the modifications you want to persist. - - - - Updates a document. - - The type representing a Document. - The document with the modifications you want to persist. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The document you want to modify. - The update definition for the document. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - For the entity selected by the filter, updates the property field with the given value. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - For the entity selected by the filter, updates the property field with the given value. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The document you want to modify. - The update definition for the document. - - - - Asynchronously Updates a document. - - The type representing a Document. - The type of the primary key for a Document. - The document with the modifications you want to persist. - - - - Updates a document. - - The type representing a Document. - The type of the primary key for a Document. - The document with the modifications you want to persist. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to modify. - The update definition for the document. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to modify. - The update definition for the document. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - For the entity selected by the filter, updates the property field with the given value. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. - - - - Updates the property field with the given value. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - For the entity selected by the filter, updates the property field with the given value. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. + The documents you want to add. @@ -1587,121 +977,154 @@ An optional partition key. The number of documents deleted. - + - Asynchronously returns a projected document matching the filter condition. - - The type representing a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Asynchronously returns a projected document matching the filter condition. + Returns the names of the indexes present on a collection. The type representing a Document. The type of the primary key for a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. + An optional partition key + A list containing the names of the indexes on on the concerned collection. - + - Returns a projected document matching the filter condition. + Returns the names of the indexes present on a collection. The type representing a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. + An optional partition key + A list containing the names of the indexes on on the concerned collection. - + - Returns a projected document matching the filter condition. + Create a text index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Create a text index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. The type representing a Document. The type of the primary key for a Document. - The type representing the model you want to project to. - - The projection expression. + The field we want to index. + Options for creating an index. An optional partition key. + The result of the create index operation. - + - Asynchronously returns a list of projected documents matching the filter condition. + Creates an index on the given field in ascending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. The type representing a Document. - The type representing the model you want to project to. - - The projection expression. + The field we want to index. + Options for creating an index. An optional partition key. + The result of the create index operation. - + - Asynchronously returns a list of projected documents matching the filter condition. + Creates an index on the given field in ascending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. The type representing a Document. The type of the primary key for a Document. - The type representing the model you want to project to. - - The projection expression. + The field we want to index. + Options for creating an index. An optional partition key. + The result of the create index operation. - + - Asynchronously returns a list of projected documents matching the filter condition. + Creates an index on the given field in descending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. The type representing a Document. - The type representing the model you want to project to. - - The projection expression. + The field we want to index. + Options for creating an index. An optional partition key. + The result of the create index operation. - + + + + - Asynchronously returns a list of projected documents matching the filter condition. + Creates a hashed index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. The type representing a Document. - The type of the primary key for a Document. - The type representing the model you want to project to. - The document filter. - The projection expression. + The field we want to index. + Options for creating an index. An optional partition key. + The result of the create index operation. - + + + + - Groups a collection of documents given a grouping criteria, - and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + Creates a combined text index. + IndexCreationOptions can be supplied to further specify + how the creation should be done. The type representing a Document. - The type of the grouping criteria. - The type of the projected group. - The grouping criteria. - The projected group result. - The partition key of your document, if any. + The fields we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. - + + + + - Groups filtered a collection of documents given a grouping criteria, - and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + Drops the index given a field name The type representing a Document. - The type of the grouping criteria. - The type of the projected group. - - The grouping criteria. - The projected group result. - The partition key of your document, if any. + The name of the index + An optional partition key + + + + + + + The constructor taking a connection string and a database name. + + The connection string of the MongoDb server. + The name of the database against which you want to perform operations. + + + + The contructor taking a . + + A mongodb context implementing + + + + The contructor taking a . + + A mongodb context implementing Asynchronously returns a paginated list of the documents matching the filter condition. The type representing a Document. - + A LINQ expression filter. The number of documents you want to skip. Default value is 0. The number of documents you want to take. Default value is 50. An optional partition key. @@ -1712,7 +1135,7 @@ The type representing a Document. The type of the primary key for a Document. - + A LINQ expression filter. The number of documents you want to skip. Default value is 0. The number of documents you want to take. Default value is 50. An optional partition key. @@ -1722,7 +1145,7 @@ GetAndUpdateOne with filter The type representing a Document. - + A LINQ expression filter. @@ -1733,7 +1156,7 @@ The type representing a Document. The type of the primary key for a Document. - + A LINQ expression filter. @@ -1753,47 +1176,2135 @@ The document type. The document. - - + + + Gets a collections for a potentially partitioned document type. + + The document type. + The collection partition key. + - - + + + Gets a collections for the type TDocument with a partition key. + + The document type. + The collection partition key. + - - + + + Asynchronously Updates a document. + + The type representing a Document. + The document with the modifications you want to persist. - - + + + Updates a document. + + The type representing a Document. + The document with the modifications you want to persist. - - + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The document you want to modify. + The update definition for the document. - - + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The document you want to modify. + The update definition for the document. - - + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. - - + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. - - + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. - - + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. - - + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. - - + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. - - + + + Asynchronously Updates a document. + + The type representing a Document. + The type of the primary key for a Document. + The document with the modifications you want to persist. - - + + + Updates a document. + + The type representing a Document. + The type of the primary key for a Document. + The document with the modifications you want to persist. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to modify. + The update definition for the document. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to modify. + The update definition for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + Deletes a document. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to delete. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to delete. + The number of documents deleted. + + + + Deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a list of documents. + + The type representing a Document. + The type of the primary key for a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes a list of documents. + + The type representing a Document. + The type of the primary key for a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Returns the names of the indexes present on a collection. + + The type representing a Document. + The type of the primary key for a Document. + An optional partition key + A list containing the names of the indexes on on the concerned collection. + + + + Create a text index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in ascending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in descending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a hashed index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a combined text index. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The fields we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Drops the index given a field name + + The type representing a Document. + The type of the primary key for a Document. + The name of the index + An optional partition key + + + + Asynchronously Updates a document. + + The type representing a Document. + The type of the primary key for a Document. + The document with the modifications you want to persist. + + + + Updates a document. + + The type representing a Document. + The type of the primary key for a Document. + The document with the modifications you want to persist. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to modify. + The update definition for the document. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to modify. + The update definition for the document. + + + + For the entity selected by the filter, updates the property field with the given value.. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + Gets a collections for a potentially partitioned document type. + + The document type. + The type of the primary key. + The document. + + + + + Gets a collections for the type TDocument with a partition key. + + The document type. + The type of the primary key. + The collection partition key. + + + + + Gets a collections for a potentially partitioned document type. + + The document type. + The type of the primary key. + The collection partition key. + + + + + Converts a LINQ expression of TDocument, TValue to a LINQ expression of TDocument, object + + The document type. + The type of the value. + The expression to convert + + + + Maps a IndexCreationOptions object to a MongoDB.Driver.CreateIndexOptions object + + The options for creating an index. + + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partition key. + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by descending. + An optional partition key. + + + + Asynchronously adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to add. + + + + Adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to add. + + + + Asynchronously adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The documents you want to add. + + + + Adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The documents you want to add. + + + + Sets the value of the document Id if it is not set already. + + The document type. + The type of the primary key. + The document. + + + + Deletes a document. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to delete. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to delete. + The number of documents deleted. + + + + Deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a list of documents. + + The type representing a Document. + The type of the primary key for a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes a list of documents. + + The type representing a Document. + The type of the primary key for a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Returns the names of the indexes present on a collection. + + The type representing a Document. + The type of the primary key for a Document. + An optional partition key + A list containing the names of the indexes on on the concerned collection. + + + + Create a text index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in ascending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in descending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a hashed index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a combined text index. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The fields we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Drops the index given a field name + + The type representing a Document. + The type of the primary key for a Document. + The name of the index + An optional partition key + + + + Asynchronously returns one document given its id. + + The type representing a Document. + The type of the primary key for a Document. + The Id of the document you want to get. + An optional partition key. + + + + Returns one document given its id. + + The type representing a Document. + The type of the primary key for a Document. + The Id of the document you want to get. + An optional partition key. + + + + Asynchronously returns one document given an expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns one document given an expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns a collection cursor. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns true if any of the document of the collection matches the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns true if any of the document of the collection matches the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Asynchronously returns a list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns a list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Asynchronously counts how many documents match the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partitionKey + + + + Counts how many documents match the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partitionKey + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by descending. + An optional partitionKey. + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by descending. + An optional partitionKey. + + + + Gets the document with the minimum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the document with the minimum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partition key. + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partition key. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Groups a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the primary key for a Document. + The type of the grouping criteria. + The type of the projected group. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + + + + Groups filtered a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the primary key for a Document. + The type of the grouping criteria. + The type of the projected group. + A LINQ expression filter. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + + + + Asynchronously returns a paginated list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The property selector. + Order of the sorting. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. + An optional partition key. + + + + Asynchronously returns a paginated list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The sort definition. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. + An optional partition key. + + + + Asynchronously returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + The document filter. + The projection expression. + An optional partition key. + + + + Asynchronously Updates a document. + + The type representing a Document. + The type of the primary key for a Document. + The document with the modifications you want to persist. + + + + Updates a document. + + The type representing a Document. + The type of the primary key for a Document. + The document with the modifications you want to persist. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to modify. + The update definition for the document. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to modify. + The update definition for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + Updates the property field with the given value. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + The interface exposing data insertion functionality for Key typed repositories. + + + + + + Asynchronously adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The document you want to add. + + + + Adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The document you want to add. + + + + Asynchronously adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The documents you want to add. + + + + Adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The documents you want to add. + + + + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. + Its constructor must be given a connection string and a database name. + + + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. + Its constructor must be given a connection string and a database name. + + + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. + Its constructor must be given a connection string and a database name. + + The type of the document Id. + + + + The MongoDb accessor to insert data. + + + + + Asynchronously adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The document you want to add. + + + + Adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The document you want to add. + + + + Asynchronously adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The documents you want to add. + + + + Adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The documents you want to add. + + + + The MongoDb accessor to delete data. + + + + + Deletes a document. + + The type representing a Document. + The document you want to delete. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The document you want to delete. + The number of documents deleted. + + + + Deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a list of documents. + + The type representing a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes a list of documents. + + The type representing a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + The MongoDb accessor to manage indexes. + + + + + Returns the names of the indexes present on a collection. + + The type representing a Document. + An optional partition key + A list containing the names of the indexes on on the concerned collection. + + + + Create a text index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in ascending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in descending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a hashed index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a combined text index. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The fields we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Drops the index given a field name + + The type representing a Document. + The name of the index + An optional partition key + + + + The constructor taking a connection string and a database name. + + The connection string of the MongoDb server. + The name of the database against which you want to perform operations. + + + + The contructor taking a . + + A mongodb context implementing + + + + The contructor taking a . + + A mongodb context implementing + + + + Gets a collections for a potentially partitioned document type. + + The document type. + The collection partition key. + + + + + Gets a collections for the type TDocument with a partition key. + + The document type. + The collection partition key. + + + + + Asynchronously Updates a document. + + The type representing a Document. + The document with the modifications you want to persist. + + + + Updates a document. + + The type representing a Document. + The document with the modifications you want to persist. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The document you want to modify. + The update definition for the document. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The document you want to modify. + The update definition for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + The interface exposing deletion functionality for Key typed repositories. + + The type of the document Id. + + + + Deletes a document. + + The type representing a Document. + The document you want to delete. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The document you want to delete. + The number of documents deleted. + + + + Deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a list of documents. + + The type representing a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes a list of documents. + + The type representing a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + The interface exposing index management functionality for Key typed repositories. + + + + + + Returns the names of the indexes present on a collection. + + The type representing a Document. + An optional partition key + A list containing the names of the indexes on on the concerned collection. + + + + Create a text index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in ascending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in descending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a hashed index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a combined text index. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The fields we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Drops the index given a field name + + The type representing a Document. + The name of the index + An optional partition key + + + + The interface exposing all the CRUD and Index functionalities for Key typed repositories. + + The type of the document Id. + + + + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. + Its constructor must be given a connection string and a database name. + + + + + The connection string. + + + + + The database name. + + + + + The MongoDbContext + + + + + A MongoDb Reader for read operations + + + + + The constructor taking a connection string and a database name. + + The connection string of the MongoDb server. + The name of the database against which you want to perform operations. + + + + The contructor taking a . + + A mongodb context implementing + + + + The contructor taking a . + + A mongodb context implementing + + + + Asynchronously returns one document given its id. + + The type representing a Document. + The Id of the document you want to get. + An optional partition key. + + + + Returns one document given its id. + + The type representing a Document. + The Id of the document you want to get. + An optional partition key. + + + + Asynchronously returns one document given an expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns one document given an expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns a collection cursor. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns true if any of the document of the collection matches the filter condition. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns true if any of the document of the collection matches the filter condition. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + + + + Asynchronously returns a list of the documents matching the filter condition. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns a list of the documents matching the filter condition. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + + + + Asynchronously counts how many documents match the filter condition. + + The type representing a Document. + A LINQ expression filter. + An optional partitionKey + + + + Counts how many documents match the filter condition. + + The type representing a Document. + A LINQ expression filter. + An optional partitionKey + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + A LINQ expression filter. + A property selector to order by descending. + An optional partitionKey. + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + A LINQ expression filter. + A property selector to order by descending. + An optional partitionKey. + + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partition key. + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partition key. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Asynchronously returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Returns a projected document matching the filter condition. + + The type representing a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Groups a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the grouping criteria. + The type of the projected group. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + + + + Groups filtered a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the grouping criteria. + The type of the projected group. + A LINQ expression filter. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + + + + Asynchronously returns a paginated list of the documents matching the filter condition. + + The type representing a Document. + A LINQ expression filter. + The property selector. + Order of the sorting. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. + An optional partition key. + + + + Asynchronously returns a paginated list of the documents matching the filter condition. + + The type representing a Document. + A LINQ expression filter. + The sort definition. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. + An optional partition key. + + + + Asynchronously Updates a document. + + The type representing a Document. + The document with the modifications you want to persist. + + + + Updates a document. + + The type representing a Document. + The document with the modifications you want to persist. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The document you want to modify. + The update definition for the document. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The document you want to modify. + The update definition for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. @@ -1960,29 +3471,17 @@ - The IMongoClient from the official MongoDb driver + The IMongoClient from the official MongoDB driver - The IMongoDatabase from the official Mongodb driver - - - - - Sets the Guid representation of the MongoDb Driver. - - The new value of the GuidRepresentation - - - - Initialize the Guid representation of the MongoDb Driver. - Override this method to change the default GuidRepresentation. + The IMongoDatabase from the official MongoDB driver - The constructor of the MongoDbContext, it needs a an object implementing . + The constructor of the MongoDbContext, it needs an object implementing . An object implementing IMongoDatabase @@ -1993,12 +3492,12 @@ The connections string. The name of your database. - + - Extracts the CollectionName attribute from the entity type, if any. + The constructor of the MongoDbContext, it needs a connection string and a database name. - The type representing a Document. - The name of the collection in which the TDocument is stored. + The MongoClient. + The name of your database. @@ -2013,9 +3512,28 @@ The type representing a Document. + + + Sets the Guid representation of the MongoDB Driver. + + The new value of the GuidRepresentation + + + + Extracts the CollectionName attribute from the entity type, if any. + + The type representing a Document. + The name of the collection in which the TDocument is stored. + + + + Initialize the Guid representation of the MongoDB Driver. + Override this method to change the default GuidRepresentation. + + - Given the docmuent type and the partition key, returns the name of the collection it belongs to. + Given the document type and the partition key, returns the name of the collection it belongs to. The type representing a Document. The value of the partition key. @@ -2030,22 +3548,8 @@ - The ReadOnlyMongoRepository implements the readonly functionality of the IReadOnlyMongoRepository. - - - - - The connection string. - - - - - The database name. - - - - - The MongoDbContext + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. + Its constructor must be given a connection string and a database name. @@ -2067,131 +3571,6 @@ A mongodb context implementing - - - Asynchronously returns one document given its id. - - The type representing a Document. - The Id of the document you want to get. - An optional partition key. - - - - Returns one document given its id. - - The type representing a Document. - The Id of the document you want to get. - An optional partition key. - - - - Asynchronously returns one document given an expression filter. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns one document given an expression filter. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns a collection cursor. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns true if any of the document of the collection matches the filter condition. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns true if any of the document of the collection matches the filter condition. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - - - - Asynchronously returns a list of the documents matching the filter condition. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns a list of the documents matching the filter condition. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - - - - Asynchronously counts how many documents match the filter condition. - - The type representing a Document. - A LINQ expression filter. - An optional partitionKey - - - - Counts how many documents match the filter condition. - - The type representing a Document. - A LINQ expression filter. - An optional partitionKey - - - - Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - A LINQ expression filter. - A property selector to order by descending. - An optional partitionKey. - - - - Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - A LINQ expression filter. - A property selector to order by descending. - An optional partitionKey. - - - - - Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - - - - Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - Asynchronously returns one document given its id. @@ -2331,56 +3710,15 @@ A property selector to order by ascending. An optional partitionKey. - - - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the primary key. - The type of the value used to order the query. - A LINQ expression filter. - A property selector to order by ascending. - An optional partition key. - - - - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the primary key. - The type of the value used to order the query. - A LINQ expression filter. - A property selector to order by descending. - An optional partition key. - - - - Gets the maximum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the value used to order the query. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - Gets the maximum value of a property in a mongodb collections that is satisfying the filter. The document type. The type of the primary key. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - - - - Gets the maximum value of a property in a mongodb collections that is satisfying the filter. - - The document type. The type of the value used to order the query. A LINQ expression filter. - A property selector to order by ascending. + A property selector to select the max value. An optional partitionKey. @@ -2394,16 +3732,6 @@ A property selector to order by ascending. An optional partitionKey. - - - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the value used to order the query. - A LINQ expression filter. - A property selector to order by ascending. - An optional partition key. - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. @@ -2415,16 +3743,6 @@ A property selector to order by ascending. An optional partition key. - - - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the value used to order the query. - A LINQ expression filter. - A property selector to order by ascending. - An optional partition key. - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. @@ -2436,21 +3754,141 @@ A property selector to order by ascending. An optional partition key. - + - Gets a collections for the type TDocument with the matching partition key (if any). + Sums the values of a selected field for a given filtered collection of documents. - The document type. - An optional partition key. - An + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. - + - Gets a collections for the type TDocument + Sums the values of a selected field for a given filtered collection of documents. - The document type. - The document. - + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Asynchronously returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + The document filter. + The projection expression. + An optional partition key. + + + + Groups filtered a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the primary key for a Document. + The type of the grouping criteria. + The type of the projected group. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + + + + Groups filtered a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the primary key for a Document. + The type of the grouping criteria. + The type of the projected group. + A LINQ expression filter. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + + + + Asynchronously returns a paginated list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The property selector. + Order of the sorting. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. + An optional partition key. + + + + Asynchronously returns a paginated list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The sort definition. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. + An optional partition key. @@ -2461,23 +3899,6 @@ The document. - - - Gets a collections for a potentially partitioned document type. - - The document type. - The collection partition key. - - - - - Gets a collections for the type TDocument with a partition key. - - The document type. - The type of the primary key. - The collection partition key. - - Gets a collections for a potentially partitioned document type. @@ -2487,13 +3908,22 @@ The collection partition key. - + - Converts a LINQ expression of TDocument, TValue to a LINQ expression of TDocument, object + Gets a collections for a potentially partitioned document type. The document type. - The type of the value. - The expression to convert + The document. + + + + + Gets a collections for the type TDocument with a partition key. + + The document type. + The type of the primary key. + The collection partition key. + diff --git a/MongoDbGenericRepository/lib/netstandard1.5/MongoDbGenericRepository.deps.json b/MongoDbGenericRepository/lib/netstandard1.5/MongoDbGenericRepository.deps.json index e5ec7b9..e4f4d91 100644 --- a/MongoDbGenericRepository/lib/netstandard1.5/MongoDbGenericRepository.deps.json +++ b/MongoDbGenericRepository/lib/netstandard1.5/MongoDbGenericRepository.deps.json @@ -36,7 +36,10 @@ "System.Threading": "4.3.0" }, "runtime": { - "lib/netstandard1.3/DnsClient.dll": {} + "lib/netstandard1.3/DnsClient.dll": { + "assemblyVersion": "1.0.7.0", + "fileVersion": "1.0.7.0" + } } }, "Microsoft.NETCore.Platforms/1.1.0": {}, @@ -69,7 +72,10 @@ "System.Reflection.Emit.Lightweight": "4.0.1" }, "runtime": { - "lib/netstandard1.5/MongoDB.Bson.dll": {} + "lib/netstandard1.5/MongoDB.Bson.dll": { + "assemblyVersion": "2.7.0.0", + "fileVersion": "2.7.0.0" + } } }, "MongoDB.Driver/2.7.0": { @@ -81,7 +87,10 @@ "System.Linq.Queryable": "4.0.1" }, "runtime": { - "lib/netstandard1.5/MongoDB.Driver.dll": {} + "lib/netstandard1.5/MongoDB.Driver.dll": { + "assemblyVersion": "2.7.0.0", + "fileVersion": "2.7.0.0" + } } }, "MongoDB.Driver.Core/2.7.0": { @@ -96,7 +105,10 @@ "System.Security.SecureString": "4.0.0" }, "runtime": { - "lib/netstandard1.5/MongoDB.Driver.Core.dll": {} + "lib/netstandard1.5/MongoDB.Driver.Core.dll": { + "assemblyVersion": "2.7.0.0", + "fileVersion": "2.7.0.0" + } } }, "NETStandard.Library/1.6.1": { @@ -197,7 +209,10 @@ "System.Threading": "4.3.0" }, "runtime": { - "lib/netstandard1.1/System.Buffers.dll": {} + "lib/netstandard1.1/System.Buffers.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Collections/4.3.0": { @@ -221,7 +236,10 @@ "System.Threading.Tasks": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Collections.Concurrent.dll": {} + "lib/netstandard1.3/System.Collections.Concurrent.dll": { + "assemblyVersion": "4.0.13.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Collections.NonGeneric/4.0.1": { @@ -234,7 +252,10 @@ "System.Threading": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Collections.NonGeneric.dll": {} + "lib/netstandard1.3/System.Collections.NonGeneric.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "1.0.24212.1" + } } }, "System.Collections.Specialized/4.0.1": { @@ -248,7 +269,10 @@ "System.Threading": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Collections.Specialized.dll": {} + "lib/netstandard1.3/System.Collections.Specialized.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "1.0.24212.1" + } } }, "System.ComponentModel/4.0.1": { @@ -256,7 +280,10 @@ "System.Runtime": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.ComponentModel.dll": {} + "lib/netstandard1.3/System.ComponentModel.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "1.0.24212.1" + } } }, "System.ComponentModel.Primitives/4.1.0": { @@ -266,7 +293,10 @@ "System.Runtime": "4.3.0" }, "runtime": { - "lib/netstandard1.0/System.ComponentModel.Primitives.dll": {} + "lib/netstandard1.0/System.ComponentModel.Primitives.dll": { + "assemblyVersion": "4.1.0.0", + "fileVersion": "1.0.24212.1" + } } }, "System.ComponentModel.TypeConverter/4.1.0": { @@ -288,7 +318,10 @@ "System.Threading": "4.3.0" }, "runtime": { - "lib/netstandard1.5/System.ComponentModel.TypeConverter.dll": {} + "lib/netstandard1.5/System.ComponentModel.TypeConverter.dll": { + "assemblyVersion": "4.1.0.0", + "fileVersion": "1.0.24212.1" + } } }, "System.Console/4.3.0": { @@ -316,7 +349,10 @@ "System.Threading": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Diagnostics.DiagnosticSource.dll": {} + "lib/netstandard1.3/System.Diagnostics.DiagnosticSource.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Diagnostics.Process/4.1.0": { @@ -390,7 +426,10 @@ "System.Threading": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Dynamic.Runtime.dll": {} + "lib/netstandard1.3/System.Dynamic.Runtime.dll": { + "assemblyVersion": "4.0.11.0", + "fileVersion": "1.0.24212.1" + } } }, "System.Globalization/4.3.0": { @@ -459,7 +498,10 @@ "System.Text.Encoding": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.IO.Compression.ZipFile.dll": {} + "lib/netstandard1.3/System.IO.Compression.ZipFile.dll": { + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.6.24705.1" + } } }, "System.IO.FileSystem/4.3.0": { @@ -479,7 +521,10 @@ "System.Runtime": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.IO.FileSystem.Primitives.dll": {} + "lib/netstandard1.3/System.IO.FileSystem.Primitives.dll": { + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Linq/4.3.0": { @@ -506,7 +551,10 @@ "System.Runtime": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Linq.Queryable.dll": {} + "lib/netstandard1.3/System.Linq.Queryable.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "1.0.24212.1" + } } }, "System.Net.Http/4.3.0": { @@ -629,7 +677,10 @@ "System.Threading": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.ObjectModel.dll": {} + "lib/netstandard1.3/System.ObjectModel.dll": { + "assemblyVersion": "4.0.13.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Reflection/4.3.0": { @@ -650,7 +701,10 @@ "System.Runtime": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Reflection.Emit.dll": {} + "lib/netstandard1.3/System.Reflection.Emit.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "1.0.24212.1" + } } }, "System.Reflection.Emit.ILGeneration/4.0.1": { @@ -660,7 +714,10 @@ "System.Runtime": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Reflection.Emit.ILGeneration.dll": {} + "lib/netstandard1.3/System.Reflection.Emit.ILGeneration.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "1.0.24212.1" + } } }, "System.Reflection.Emit.Lightweight/4.0.1": { @@ -671,7 +728,10 @@ "System.Runtime": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Reflection.Emit.Lightweight.dll": {} + "lib/netstandard1.3/System.Reflection.Emit.Lightweight.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "1.0.24212.1" + } } }, "System.Reflection.Extensions/4.3.0": { @@ -695,7 +755,10 @@ "System.Runtime": "4.3.0" }, "runtime": { - "lib/netstandard1.5/System.Reflection.TypeExtensions.dll": {} + "lib/netstandard1.5/System.Reflection.TypeExtensions.dll": { + "assemblyVersion": "4.1.0.0", + "fileVersion": "1.0.24212.1" + } } }, "System.Resources.ResourceManager/4.3.0": { @@ -748,7 +811,10 @@ "runtime.native.System": "4.3.0" }, "runtime": { - "lib/netstandard1.1/System.Runtime.InteropServices.RuntimeInformation.dll": {} + "lib/netstandard1.1/System.Runtime.InteropServices.RuntimeInformation.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Runtime.Numerics/4.3.0": { @@ -759,7 +825,10 @@ "System.Runtime.Extensions": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Runtime.Numerics.dll": {} + "lib/netstandard1.3/System.Runtime.Numerics.dll": { + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Security.Claims/4.3.0": { @@ -773,7 +842,10 @@ "System.Security.Principal": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Security.Claims.dll": {} + "lib/netstandard1.3/System.Security.Claims.dll": { + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Security.Cryptography.Algorithms/4.3.0": { @@ -810,7 +882,10 @@ "System.Threading.Tasks": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Security.Cryptography.Primitives.dll": {} + "lib/netstandard1.3/System.Security.Cryptography.Primitives.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Security.Cryptography.X509Certificates/4.3.0": { @@ -826,7 +901,10 @@ "System.Runtime": "4.3.0" }, "runtime": { - "lib/netstandard1.0/System.Security.Principal.dll": {} + "lib/netstandard1.0/System.Security.Principal.dll": { + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Security.Principal.Windows/4.3.0": { @@ -885,7 +963,10 @@ "System.Threading.Tasks": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Threading.dll": {} + "lib/netstandard1.3/System.Threading.dll": { + "assemblyVersion": "4.0.12.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Threading.Overlapped/4.3.0": { @@ -910,7 +991,10 @@ "System.Threading.Tasks": "4.3.0" }, "runtime": { - "lib/netstandard1.0/System.Threading.Tasks.Extensions.dll": {} + "lib/netstandard1.0/System.Threading.Tasks.Extensions.dll": { + "assemblyVersion": "4.1.0.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Threading.Thread/4.3.0": { @@ -918,7 +1002,10 @@ "System.Runtime": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Threading.Thread.dll": {} + "lib/netstandard1.3/System.Threading.Thread.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Threading.ThreadPool/4.3.0": { @@ -927,7 +1014,10 @@ "System.Runtime.Handles": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Threading.ThreadPool.dll": {} + "lib/netstandard1.3/System.Threading.ThreadPool.dll": { + "assemblyVersion": "4.0.11.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Threading.Timer/4.3.0": { @@ -956,7 +1046,10 @@ "System.Threading.Tasks.Extensions": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Xml.ReaderWriter.dll": {} + "lib/netstandard1.3/System.Xml.ReaderWriter.dll": { + "assemblyVersion": "4.1.0.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Xml.XDocument/4.3.0": { @@ -975,7 +1068,10 @@ "System.Xml.ReaderWriter": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Xml.XDocument.dll": {} + "lib/netstandard1.3/System.Xml.XDocument.dll": { + "assemblyVersion": "4.0.12.0", + "fileVersion": "4.6.24705.1" + } } } } @@ -1017,7 +1113,7 @@ "Microsoft.Win32.Registry/4.0.0": { "type": "package", "serviceable": true, - "sha512": "sha512-q+eLtROUAQ3OxYA5mpQrgyFgzLQxIyrfT2eLpYX5IEPlHmIio2nh4F5bgOaQoGOV865kFKZZso9Oq9RlazvXtg==", + "sha512": "sha512-mYUxH/YY9PwvuWY93/qsovFHAh+Lu2CNxNHWxB/x0dnpaEy6oIy/9d7R2J6dFaLZ7jhE7emLjn7A8kSzsP1A+Q==", "path": "microsoft.win32.registry/4.0.0", "hashPath": "microsoft.win32.registry.4.0.0.nupkg.sha512" }, @@ -1192,14 +1288,14 @@ "System.ComponentModel.Primitives/4.1.0": { "type": "package", "serviceable": true, - "sha512": "sha512-sc/7eVCdxPrp3ljpgTKVaQGUXiW05phNWvtv/m2kocXqrUQvTVWKou1Edas2aDjTThLPZOxPYIGNb/HN0QjURg==", + "sha512": "sha512-mAaj8PXxM7hUSIJYm9chhSe90HaIVyl8vb4JJO0M7fRaeBqSaaveHdRAmOL0LcOxp7kf9Vb8HujCe02DUqG5HQ==", "path": "system.componentmodel.primitives/4.1.0", "hashPath": "system.componentmodel.primitives.4.1.0.nupkg.sha512" }, "System.ComponentModel.TypeConverter/4.1.0": { "type": "package", "serviceable": true, - "sha512": "sha512-MnDAlaeJZy9pdB5ZdOlwdxfpI+LJQ6e0hmH7d2+y2LkiD8DRJynyDYl4Xxf3fWFm7SbEwBZh4elcfzONQLOoQw==", + "sha512": "sha512-jcj79VC96yxc/rgLB59+g4675iVts1XrfC97dniMEvmJhRl8cG7qRO3EsJQwNw8cFL6RenFxn/CGfUhgj32SdQ==", "path": "system.componentmodel.typeconverter/4.1.0", "hashPath": "system.componentmodel.typeconverter.4.1.0.nupkg.sha512" }, @@ -1227,7 +1323,7 @@ "System.Diagnostics.Process/4.1.0": { "type": "package", "serviceable": true, - "sha512": "sha512-mpVZ5bnlSs3tTeJ6jYyDJEIa6tavhAd88lxq1zbYhkkCu0Pno2+gHXcvZcoygq2d8JxW3gojXqNJMTAshduqZA==", + "sha512": "sha512-4dlFhzwmI3hl32P+8c9hnytYtV7Xldhsokm5i7Fvv5PmTS68TQCfsuJrREIyF9N1B8zlsSomp7AVrXLe45kKFQ==", "path": "system.diagnostics.process/4.1.0", "hashPath": "system.diagnostics.process.4.1.0.nupkg.sha512" }, @@ -1241,7 +1337,7 @@ "System.Diagnostics.TraceSource/4.0.0": { "type": "package", "serviceable": true, - "sha512": "sha512-6WVCczFZKXwpWpzd/iJkYnsmWTSFFiU24Xx/YdHXBcu+nFI/ehTgeqdJQFbtRPzbrO3KtRNjvkhtj4t5/WwWsA==", + "sha512": "sha512-bGUeY5wiCHYSWbYZS3QjbaQ1hNoJ1RQBQMB3E0Cgh6AH//4rXfXIOHKIW46HDOsTEDoNfvFNDXphL5W5B/XMwQ==", "path": "system.diagnostics.tracesource/4.0.0", "hashPath": "system.diagnostics.tracesource.4.0.0.nupkg.sha512" }, @@ -1353,7 +1449,7 @@ "System.Net.NetworkInformation/4.3.0": { "type": "package", "serviceable": true, - "sha512": "sha512-zNVmWVry0pAu7lcrRBhwwU96WUdbsrGL3azyzsbXmVNptae1+Za+UgOe9Z6s8iaWhPn7/l4wQqhC56HZWq7tkg==", + "sha512": "sha512-MKLDZXuBZOS348egaxkMgwSUHIIhykVf0pudpfSdzjKmkRpVCzqkpysPHHp8HfckYAhuXRM+UgxWPgFTHF8Trg==", "path": "system.net.networkinformation/4.3.0", "hashPath": "system.net.networkinformation.4.3.0.nupkg.sha512" }, @@ -1367,7 +1463,7 @@ "System.Net.Security/4.0.0": { "type": "package", "serviceable": true, - "sha512": "sha512-uM1JaYJciCc2w7efD6du0EpQ1n5ZQqE6/P43/aI4H5E59qvP+wt3l70KIUF/Ha7NaeXGoGNFPVO0MB80pVHk2g==", + "sha512": "sha512-iavC4j5XrRyX3aXbn23jHHF0NTxw9F+2vi3a94VY4BgfrYm5VQBh8OzU1TkNahTSlcKzjGhEc7ZfTfe4b62J6Q==", "path": "system.net.security/4.0.0", "hashPath": "system.net.security.4.0.0.nupkg.sha512" }, @@ -1535,7 +1631,7 @@ "System.Security.SecureString/4.0.0": { "type": "package", "serviceable": true, - "sha512": "sha512-sqzq9GD6/b0yqPuMpgIKBuoLf4VKAj8oAfh4kXSzPaN6eoKY3hRi9C5L27uip25qlU+BGPfb0xh2Rmbwc4jFVA==", + "sha512": "sha512-7TGOnj9Lr8ljCJbMHjZC34hEw3Z+zRPp7eNhLBg22mbSqO8gQMGLJ/vQkWv8HFYG0t2i53ZulKZ8NNho+jVK7Q==", "path": "system.security.securestring/4.0.0", "hashPath": "system.security.securestring.4.0.0.nupkg.sha512" }, @@ -1570,7 +1666,7 @@ "System.Threading.Overlapped/4.3.0": { "type": "package", "serviceable": true, - "sha512": "sha512-m3HQ2dPiX/DSTpf+yJt8B0c+SRvzfqAJKx+QDWi+VLhz8svLT23MVjEOHPF/KiSLeArKU/iHescrbLd3yVgyNg==", + "sha512": "sha512-JpukcZA7kre2gQ7GrhtvZu1xv/LVEG5HV9AajQ3XV7l36T6ICalw/llfkBHeK/eqo8UWpMNqkWGCzzlSuqE6pg==", "path": "system.threading.overlapped/4.3.0", "hashPath": "system.threading.overlapped.4.3.0.nupkg.sha512" }, diff --git a/MongoDbGenericRepository/lib/netstandard1.5/MongoDbGenericRepository.dll b/MongoDbGenericRepository/lib/netstandard1.5/MongoDbGenericRepository.dll index 0b548bc..354aff2 100644 Binary files a/MongoDbGenericRepository/lib/netstandard1.5/MongoDbGenericRepository.dll and b/MongoDbGenericRepository/lib/netstandard1.5/MongoDbGenericRepository.dll differ diff --git a/MongoDbGenericRepository/lib/netstandard1.5/MongoDbGenericRepository.xml b/MongoDbGenericRepository/lib/netstandard1.5/MongoDbGenericRepository.xml index aa5ec45..817687c 100644 --- a/MongoDbGenericRepository/lib/netstandard1.5/MongoDbGenericRepository.xml +++ b/MongoDbGenericRepository/lib/netstandard1.5/MongoDbGenericRepository.xml @@ -6,502 +6,9 @@ - The IBaseMongoRepository exposes the CRUD functionality of the BaseMongoRepository. + The IBaseMongoRepository interface exposes the CRUD functionality of the BaseMongoRepository. - - - Asynchronously adds a document to the collection. - - The type representing a Document. - The document you want to add. - - - - Adds a document to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The document you want to add. - - - - Asynchronously adds a list of documents to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The document you want to add. - - - - Adds a list of documents to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The document you want to add. - - - - Asynchronously adds a document to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to add. - - - - Adds a document to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to add. - - - - Asynchronously adds a list of documents to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The type of the primary key for a Document. - The documents you want to add. - - - - Adds a list of documents to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The type of the primary key for a Document. - The documents you want to add. - - - - Asynchronously Updates a document. - - The type representing a Document. - The document with the modifications you want to persist. - - - - Updates a document. - - The type representing a Document. - The document with the modifications you want to persist. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - For the entity selected by the filter, updates the property field with the given value. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The document you want to modify. - The update definition for the document. - - - - For the entity selected by the filter, updates the property field with the given value. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The document you want to modify. - The update definition for the document. - - - - Asynchronously Updates a document. - - The type representing a Document. - The type of the primary key for a Document. - The document with the modifications you want to persist. - - - - Updates a document. - - The type representing a Document. - The type of the primary key for a Document. - The document with the modifications you want to persist. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to modify. - The update definition for the document. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to modify. - The update definition for the document. - - - - For the entity selected by the filter, updates the property field with the given value.. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - For the entity selected by the filter, updates the property field with the given value. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - Asynchronously deletes a document. - - The type representing a Document. - The document you want to delete. - The number of documents deleted. - - - - Asynchronously deletes a document matching the condition of the LINQ expression filter. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Deletes a document. - - The type representing a Document. - The document you want to delete. - The number of documents deleted. - - - - Deletes a document matching the condition of the LINQ expression filter. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Asynchronously deletes the documents matching the condition of the LINQ expression filter. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Asynchronously deletes a list of documents. - - The type representing a Document. - The list of documents to delete. - The number of documents deleted. - - - - Deletes a list of documents. - - The type representing a Document. - The list of documents to delete. - The number of documents deleted. - - - - Deletes the documents matching the condition of the LINQ expression filter. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Deletes a document. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to delete. - The number of documents deleted. - - - - Asynchronously deletes a document matching the condition of the LINQ expression filter. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to delete. - The number of documents deleted. - - - - Deletes a document matching the condition of the LINQ expression filter. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Asynchronously deletes a document matching the condition of the LINQ expression filter. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Asynchronously deletes the documents matching the condition of the LINQ expression filter. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Asynchronously deletes a list of documents. - - The type representing a Document. - The type of the primary key for a Document. - The list of documents to delete. - The number of documents deleted. - - - - Deletes a list of documents. - - The type representing a Document. - The type of the primary key for a Document. - The list of documents to delete. - The number of documents deleted. - - - - Deletes the documents matching the condition of the LINQ expression filter. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Asynchronously returns a projected document matching the filter condition. - - The type representing a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Asynchronously returns a projected document matching the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Returns a projected document matching the filter condition. - - The type representing a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Returns a projected document matching the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Asynchronously returns a list of projected documents matching the filter condition. - - The type representing a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Asynchronously returns a list of projected documents matching the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Asynchronously returns a list of projected documents matching the filter condition. - - The type representing a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Asynchronously returns a list of projected documents matching the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - Asynchronously returns a paginated list of the documents matching the filter condition. @@ -544,19 +51,289 @@ - + - Groups a collection of documents given a grouping criteria, - and returns a list of projected documents. + The IBaseReadOnlyRepository exposes the generic Read Only functionality of the BaseMongoRepository. + + + + + The connection string. + + + + + The database name. + + + + + Asynchronously returns one document given its id. The type representing a Document. - The type of the grouping criteria. - The type of the projected group. - The grouping criteria. - The projected group result. + The type of the primary key for a Document. + The Id of the document you want to get. + An optional partition key. + + + + Returns one document given its id. + + The type representing a Document. + The type of the primary key for a Document. + The Id of the document you want to get. + An optional partition key. + + + + Asynchronously returns one document given an expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns one document given an expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns a collection cursor. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns true if any of the document of the collection matches the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns true if any of the document of the collection matches the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Asynchronously returns a list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns a list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Asynchronously counts how many documents match the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partitionKey + + + + Counts how many documents match the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partitionKey + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by descending. + An optional partitionKey. + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by descending. + An optional partitionKey. + + + + Gets the document with the minimum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the document with the minimum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partition key. + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partition key. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. The partition key of your document, if any. - + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Asynchronously returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + + The projection expression. + An optional partition key. + + + + Returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + + The projection expression. + An optional partition key. + + Groups filtered a collection of documents given a grouping criteria, and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. @@ -564,174 +341,49 @@ The type representing a Document. The type of the grouping criteria. The type of the projected group. - - The grouping criteria. - The projected group result. + The type of the primary key. + The grouping criteria. + The projected group result. The partition key of your document, if any. - + - The repository interface for managing indexes - - - - - Create a text index on the given field. - IndexCreationOptions can be supplied to further specify - how the creation should be done. + Groups filtered a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. The type representing a Document. - The field we want to index. - Options for creating an index. - An optional partition key. - The result of the create index operation. + The type of the grouping criteria. + The type of the projected group. + The type of the primary key. + A LINQ expression filter. + The grouping criteria. + The projected group result. + The partition key of your document, if any. - + - Create a text index on the given field. - IndexCreationOptions can be supplied to further specify - how the creation should be done. + Asynchronously returns a paginated list of the documents matching the filter condition. The type representing a Document. The type of the primary key for a Document. - The field we want to index. - Options for creating an index. + A LINQ expression filter. + The property selector. + Order of the sorting. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. An optional partition key. - The result of the create index operation. - + - Creates an index on the given field in ascending order. - IndexCreationOptions can be supplied to further specify - how the creation should be done. - - The type representing a Document. - The field we want to index. - Options for creating an index. - An optional partition key. - The result of the create index operation. - - - - Creates an index on the given field in ascending order. - IndexCreationOptions can be supplied to further specify - how the creation should be done. + Asynchronously returns a paginated list of the documents matching the filter condition. The type representing a Document. The type of the primary key for a Document. - The field we want to index. - Options for creating an index. + A LINQ expression filter. + The sort definition. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. An optional partition key. - The result of the create index operation. - - - - Creates an index on the given field in descending order. - IndexCreationOptions can be supplied to further specify - how the creation should be done. - - The type representing a Document. - The field we want to index. - Options for creating an index. - An optional partition key. - A string containing the result of the operation. - - - - Creates an index on the given field in descending order. - IndexCreationOptions can be supplied to further specify - how the creation should be done. - - The type representing a Document. - The type of the primary key for a Document. - The field we want to index. - Options for creating an index. - An optional partition key. - The result of the create index operation. - - - - Creates a hashed index on the given field. - IndexCreationOptions can be supplied to further specify - how the creation should be done. - - The type representing a Document. - The field we want to index. - Options for creating an index. - An optional partition key. - A string containing the result of the operation. - - - - Creates a hashed index on the given field. - IndexCreationOptions can be supplied to further specify - how the creation should be done. - - The type representing a Document. - The type of the primary key for a Document. - The field we want to index. - Options for creating an index. - An optional partition key. - The result of the create index operation. - - - - Creates a combined text index. - IndexCreationOptions can be supplied to further specify - how the creation should be done. - - The type representing a Document. - The fields we want to index. - Options for creating an index. - An optional partition key. - The result of the create index operation. - - - - Creates a combined text index. - IndexCreationOptions can be supplied to further specify - how the creation should be done. - - The type representing a Document. - The type of the primary key for a Document. - The fields we want to index. - Options for creating an index. - An optional partition key. - The result of the create index operation. - - - - Drops the index given a field name - - The type representing a Document. - The name of the index - An optional partition key - - - - Drops the index given a field name - - The type representing a Document. - The type of the primary key for a Document. - The name of the index - An optional partition key - - - - Returns the names of the indexes present on a collection. - - The type representing a Document. - An optional partition key - A list containing the names of the indexes on on the concerned collection. - - - - Returns the names of the indexes present on a collection. - - The type representing a Document. - The type of the primary key for a Document. - An optional partition key - A list containing the names of the indexes on on the concerned collection. @@ -772,17 +424,7 @@ The IReadOnlyMongoRepository exposes the readonly functionality of the BaseMongoRepository. - - - The connection string. - - - - - The database name. - - - + Asynchronously returns one document given its id. @@ -790,7 +432,7 @@ The Id of the document you want to get. An optional partition key. - + Returns one document given its id. @@ -798,7 +440,7 @@ The Id of the document you want to get. An optional partition key. - + Asynchronously returns one document given an expression filter. @@ -806,7 +448,7 @@ A LINQ expression filter. An optional partition key. - + Returns one document given an expression filter. @@ -814,7 +456,7 @@ A LINQ expression filter. An optional partition key. - + Returns a collection cursor. @@ -822,7 +464,7 @@ A LINQ expression filter. An optional partition key. - + Asynchronously returns true if any of the document of the collection matches the filter condition. @@ -830,7 +472,7 @@ A LINQ expression filter. An optional partition key. - + Returns true if any of the document of the collection matches the filter condition. @@ -838,7 +480,7 @@ A LINQ expression filter. An optional partition key. - + Asynchronously returns a list of the documents matching the filter condition. @@ -846,7 +488,7 @@ A LINQ expression filter. An optional partition key. - + Returns a list of the documents matching the filter condition. @@ -854,7 +496,7 @@ A LINQ expression filter. An optional partition key. - + Asynchronously counts how many documents match the filter condition. @@ -862,7 +504,7 @@ A LINQ expression filter. An optional partition key. - + Counts how many documents match the filter condition. @@ -870,106 +512,7 @@ A LINQ expression filter. An optional partition key. - - - Asynchronously returns one document given its id. - - The type representing a Document. - The type of the primary key for a Document. - The Id of the document you want to get. - An optional partition key. - - - - Returns one document given its id. - - The type representing a Document. - The type of the primary key for a Document. - The Id of the document you want to get. - An optional partition key. - - - - Asynchronously returns one document given an expression filter. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns one document given an expression filter. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns a collection cursor. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns true if any of the document of the collection matches the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns true if any of the document of the collection matches the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - - - - Asynchronously returns a list of the documents matching the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns a list of the documents matching the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - - - - Asynchronously counts how many documents match the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partitionKey - - - - Counts how many documents match the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partitionKey - - + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. @@ -978,7 +521,7 @@ A property selector to order by descending. An optional partitionKey. - + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. @@ -988,7 +531,7 @@ An optional partitionKey. - + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. @@ -997,7 +540,7 @@ A property selector to order by ascending. An optional partitionKey. - + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. @@ -1006,47 +549,7 @@ A property selector to order by ascending. An optional partitionKey. - - - Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - The type of the primary key. - A LINQ expression filter. - A property selector to order by descending. - An optional partitionKey. - - - - Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - The type of the primary key. - A LINQ expression filter. - A property selector to order by descending. - An optional partitionKey. - - - - Gets the document with the minimum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - The type of the primary key. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - - - - Gets the document with the minimum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - The type of the primary key. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - - + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. @@ -1056,17 +559,7 @@ A property selector to order by ascending. An optional partitionKey. - - - Gets the maximum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the primary key. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - - + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. @@ -1076,17 +569,7 @@ A property selector to order by ascending. An optional partitionKey. - - - Gets the maximum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the primary key. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - - + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. @@ -1096,18 +579,7 @@ A property selector to order by ascending. An optional partition key. - - - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the primary key. - The type of the value used to order the query. - A LINQ expression filter. - A property selector to order by ascending. - An optional partition key. - - + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. @@ -1117,17 +589,108 @@ A property selector to order by ascending. An optional partition key. - + - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + Sums the values of a selected field for a given filtered collection of documents. - The document type. - The type of the primary key. - The type of the value used to order the query. + The type representing a Document. A LINQ expression filter. - A property selector to order by ascending. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Asynchronously returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. An optional partition key. + + + Returns a projected document matching the filter condition. + + The type representing a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Groups a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the grouping criteria. + The type of the projected group. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + + + + Groups filtered a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the grouping criteria. + The type of the projected group. + A LINQ expression filter. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + This attribute allows you to specify of the name of the collection. @@ -1148,6 +711,42 @@ The name of the collection. + + + Asynchronously adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to add. + + + + Adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to add. + + + + Asynchronously adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The documents you want to add. + + + + Adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The documents you want to add. + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. @@ -1157,57 +756,14 @@ The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. Its constructor must be given a connection string and a database name. - - - The constructor taking a connection string and a database name. + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. + Its constructor must be given a connection string and a database name. - The connection string of the MongoDb server. - The name of the database against which you want to perform operations. - - - The contructor taking a . + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. + Its constructor must be given a connection string and a database name. - A mongodb context implementing - - - - The contructor taking a . - - A mongodb context implementing - - - - Asynchronously adds a document to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The document you want to add. - - - - Adds a document to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The document you want to add. - - - - Asynchronously adds a list of documents to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The documents you want to add. - - - - Adds a list of documents to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The documents you want to add. @@ -1218,6 +774,14 @@ The type of the primary key for a Document. The document you want to add. + + + Asynchronously adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The document you want to add. + Adds a document to the collection. @@ -1227,6 +791,14 @@ The type of the primary key for a Document. The document you want to add. + + + Adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The document you want to add. + Asynchronously adds a list of documents to the collection. @@ -1236,6 +808,14 @@ The type of the primary key for a Document. The documents you want to add. + + + Asynchronously adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The documents you want to add. + Adds a list of documents to the collection. @@ -1245,203 +825,13 @@ The type of the primary key for a Document. The documents you want to add. - + - Asynchronously Updates a document. + Adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. The type representing a Document. - The document with the modifications you want to persist. - - - - Updates a document. - - The type representing a Document. - The document with the modifications you want to persist. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The document you want to modify. - The update definition for the document. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - For the entity selected by the filter, updates the property field with the given value. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - For the entity selected by the filter, updates the property field with the given value. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The document you want to modify. - The update definition for the document. - - - - Asynchronously Updates a document. - - The type representing a Document. - The type of the primary key for a Document. - The document with the modifications you want to persist. - - - - Updates a document. - - The type representing a Document. - The type of the primary key for a Document. - The document with the modifications you want to persist. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to modify. - The update definition for the document. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to modify. - The update definition for the document. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - For the entity selected by the filter, updates the property field with the given value. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. - - - - Updates the property field with the given value. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - For the entity selected by the filter, updates the property field with the given value. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. + The documents you want to add. @@ -1587,121 +977,154 @@ An optional partition key. The number of documents deleted. - + - Asynchronously returns a projected document matching the filter condition. - - The type representing a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Asynchronously returns a projected document matching the filter condition. + Returns the names of the indexes present on a collection. The type representing a Document. The type of the primary key for a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. + An optional partition key + A list containing the names of the indexes on on the concerned collection. - + - Returns a projected document matching the filter condition. + Returns the names of the indexes present on a collection. The type representing a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. + An optional partition key + A list containing the names of the indexes on on the concerned collection. - + - Returns a projected document matching the filter condition. + Create a text index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Create a text index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. The type representing a Document. The type of the primary key for a Document. - The type representing the model you want to project to. - - The projection expression. + The field we want to index. + Options for creating an index. An optional partition key. + The result of the create index operation. - + - Asynchronously returns a list of projected documents matching the filter condition. + Creates an index on the given field in ascending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. The type representing a Document. - The type representing the model you want to project to. - - The projection expression. + The field we want to index. + Options for creating an index. An optional partition key. + The result of the create index operation. - + - Asynchronously returns a list of projected documents matching the filter condition. + Creates an index on the given field in ascending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. The type representing a Document. The type of the primary key for a Document. - The type representing the model you want to project to. - - The projection expression. + The field we want to index. + Options for creating an index. An optional partition key. + The result of the create index operation. - + - Asynchronously returns a list of projected documents matching the filter condition. + Creates an index on the given field in descending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. The type representing a Document. - The type representing the model you want to project to. - - The projection expression. + The field we want to index. + Options for creating an index. An optional partition key. + The result of the create index operation. - + + + + - Asynchronously returns a list of projected documents matching the filter condition. + Creates a hashed index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. The type representing a Document. - The type of the primary key for a Document. - The type representing the model you want to project to. - The document filter. - The projection expression. + The field we want to index. + Options for creating an index. An optional partition key. + The result of the create index operation. - + + + + - Groups a collection of documents given a grouping criteria, - and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + Creates a combined text index. + IndexCreationOptions can be supplied to further specify + how the creation should be done. The type representing a Document. - The type of the grouping criteria. - The type of the projected group. - The grouping criteria. - The projected group result. - The partition key of your document, if any. + The fields we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. - + + + + - Groups filtered a collection of documents given a grouping criteria, - and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + Drops the index given a field name The type representing a Document. - The type of the grouping criteria. - The type of the projected group. - - The grouping criteria. - The projected group result. - The partition key of your document, if any. + The name of the index + An optional partition key + + + + + + + The constructor taking a connection string and a database name. + + The connection string of the MongoDb server. + The name of the database against which you want to perform operations. + + + + The contructor taking a . + + A mongodb context implementing + + + + The contructor taking a . + + A mongodb context implementing Asynchronously returns a paginated list of the documents matching the filter condition. The type representing a Document. - + A LINQ expression filter. The number of documents you want to skip. Default value is 0. The number of documents you want to take. Default value is 50. An optional partition key. @@ -1712,7 +1135,7 @@ The type representing a Document. The type of the primary key for a Document. - + A LINQ expression filter. The number of documents you want to skip. Default value is 0. The number of documents you want to take. Default value is 50. An optional partition key. @@ -1722,7 +1145,7 @@ GetAndUpdateOne with filter The type representing a Document. - + A LINQ expression filter. @@ -1733,7 +1156,7 @@ The type representing a Document. The type of the primary key for a Document. - + A LINQ expression filter. @@ -1753,47 +1176,2135 @@ The document type. The document. - - + + + Gets a collections for a potentially partitioned document type. + + The document type. + The collection partition key. + - - + + + Gets a collections for the type TDocument with a partition key. + + The document type. + The collection partition key. + - - + + + Asynchronously Updates a document. + + The type representing a Document. + The document with the modifications you want to persist. - - + + + Updates a document. + + The type representing a Document. + The document with the modifications you want to persist. - - + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The document you want to modify. + The update definition for the document. - - + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The document you want to modify. + The update definition for the document. - - + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. - - + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. - - + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. - - + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. - - + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. - - + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. - - + + + Asynchronously Updates a document. + + The type representing a Document. + The type of the primary key for a Document. + The document with the modifications you want to persist. - - + + + Updates a document. + + The type representing a Document. + The type of the primary key for a Document. + The document with the modifications you want to persist. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to modify. + The update definition for the document. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to modify. + The update definition for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + Deletes a document. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to delete. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to delete. + The number of documents deleted. + + + + Deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a list of documents. + + The type representing a Document. + The type of the primary key for a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes a list of documents. + + The type representing a Document. + The type of the primary key for a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Returns the names of the indexes present on a collection. + + The type representing a Document. + The type of the primary key for a Document. + An optional partition key + A list containing the names of the indexes on on the concerned collection. + + + + Create a text index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in ascending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in descending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a hashed index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a combined text index. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The fields we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Drops the index given a field name + + The type representing a Document. + The type of the primary key for a Document. + The name of the index + An optional partition key + + + + Asynchronously Updates a document. + + The type representing a Document. + The type of the primary key for a Document. + The document with the modifications you want to persist. + + + + Updates a document. + + The type representing a Document. + The type of the primary key for a Document. + The document with the modifications you want to persist. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to modify. + The update definition for the document. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to modify. + The update definition for the document. + + + + For the entity selected by the filter, updates the property field with the given value.. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + Gets a collections for a potentially partitioned document type. + + The document type. + The type of the primary key. + The document. + + + + + Gets a collections for the type TDocument with a partition key. + + The document type. + The type of the primary key. + The collection partition key. + + + + + Gets a collections for a potentially partitioned document type. + + The document type. + The type of the primary key. + The collection partition key. + + + + + Converts a LINQ expression of TDocument, TValue to a LINQ expression of TDocument, object + + The document type. + The type of the value. + The expression to convert + + + + Maps a IndexCreationOptions object to a MongoDB.Driver.CreateIndexOptions object + + The options for creating an index. + + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partition key. + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by descending. + An optional partition key. + + + + Asynchronously adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to add. + + + + Adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to add. + + + + Asynchronously adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The documents you want to add. + + + + Adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The documents you want to add. + + + + Sets the value of the document Id if it is not set already. + + The document type. + The type of the primary key. + The document. + + + + Deletes a document. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to delete. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to delete. + The number of documents deleted. + + + + Deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a list of documents. + + The type representing a Document. + The type of the primary key for a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes a list of documents. + + The type representing a Document. + The type of the primary key for a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Returns the names of the indexes present on a collection. + + The type representing a Document. + The type of the primary key for a Document. + An optional partition key + A list containing the names of the indexes on on the concerned collection. + + + + Create a text index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in ascending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in descending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a hashed index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a combined text index. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The fields we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Drops the index given a field name + + The type representing a Document. + The type of the primary key for a Document. + The name of the index + An optional partition key + + + + Asynchronously returns one document given its id. + + The type representing a Document. + The type of the primary key for a Document. + The Id of the document you want to get. + An optional partition key. + + + + Returns one document given its id. + + The type representing a Document. + The type of the primary key for a Document. + The Id of the document you want to get. + An optional partition key. + + + + Asynchronously returns one document given an expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns one document given an expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns a collection cursor. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns true if any of the document of the collection matches the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns true if any of the document of the collection matches the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Asynchronously returns a list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns a list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Asynchronously counts how many documents match the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partitionKey + + + + Counts how many documents match the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partitionKey + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by descending. + An optional partitionKey. + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by descending. + An optional partitionKey. + + + + Gets the document with the minimum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the document with the minimum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partition key. + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partition key. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Groups a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the primary key for a Document. + The type of the grouping criteria. + The type of the projected group. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + + + + Groups filtered a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the primary key for a Document. + The type of the grouping criteria. + The type of the projected group. + A LINQ expression filter. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + + + + Asynchronously returns a paginated list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The property selector. + Order of the sorting. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. + An optional partition key. + + + + Asynchronously returns a paginated list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The sort definition. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. + An optional partition key. + + + + Asynchronously returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + The document filter. + The projection expression. + An optional partition key. + + + + Asynchronously Updates a document. + + The type representing a Document. + The type of the primary key for a Document. + The document with the modifications you want to persist. + + + + Updates a document. + + The type representing a Document. + The type of the primary key for a Document. + The document with the modifications you want to persist. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to modify. + The update definition for the document. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to modify. + The update definition for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + Updates the property field with the given value. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + The interface exposing data insertion functionality for Key typed repositories. + + + + + + Asynchronously adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The document you want to add. + + + + Adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The document you want to add. + + + + Asynchronously adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The documents you want to add. + + + + Adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The documents you want to add. + + + + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. + Its constructor must be given a connection string and a database name. + + + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. + Its constructor must be given a connection string and a database name. + + + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. + Its constructor must be given a connection string and a database name. + + The type of the document Id. + + + + The MongoDb accessor to insert data. + + + + + Asynchronously adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The document you want to add. + + + + Adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The document you want to add. + + + + Asynchronously adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The documents you want to add. + + + + Adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The documents you want to add. + + + + The MongoDb accessor to delete data. + + + + + Deletes a document. + + The type representing a Document. + The document you want to delete. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The document you want to delete. + The number of documents deleted. + + + + Deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a list of documents. + + The type representing a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes a list of documents. + + The type representing a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + The MongoDb accessor to manage indexes. + + + + + Returns the names of the indexes present on a collection. + + The type representing a Document. + An optional partition key + A list containing the names of the indexes on on the concerned collection. + + + + Create a text index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in ascending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in descending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a hashed index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a combined text index. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The fields we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Drops the index given a field name + + The type representing a Document. + The name of the index + An optional partition key + + + + The constructor taking a connection string and a database name. + + The connection string of the MongoDb server. + The name of the database against which you want to perform operations. + + + + The contructor taking a . + + A mongodb context implementing + + + + The contructor taking a . + + A mongodb context implementing + + + + Gets a collections for a potentially partitioned document type. + + The document type. + The collection partition key. + + + + + Gets a collections for the type TDocument with a partition key. + + The document type. + The collection partition key. + + + + + Asynchronously Updates a document. + + The type representing a Document. + The document with the modifications you want to persist. + + + + Updates a document. + + The type representing a Document. + The document with the modifications you want to persist. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The document you want to modify. + The update definition for the document. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The document you want to modify. + The update definition for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + The interface exposing deletion functionality for Key typed repositories. + + The type of the document Id. + + + + Deletes a document. + + The type representing a Document. + The document you want to delete. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The document you want to delete. + The number of documents deleted. + + + + Deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a list of documents. + + The type representing a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes a list of documents. + + The type representing a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + The interface exposing index management functionality for Key typed repositories. + + + + + + Returns the names of the indexes present on a collection. + + The type representing a Document. + An optional partition key + A list containing the names of the indexes on on the concerned collection. + + + + Create a text index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in ascending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in descending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a hashed index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a combined text index. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The fields we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Drops the index given a field name + + The type representing a Document. + The name of the index + An optional partition key + + + + The interface exposing all the CRUD and Index functionalities for Key typed repositories. + + The type of the document Id. + + + + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. + Its constructor must be given a connection string and a database name. + + + + + The connection string. + + + + + The database name. + + + + + The MongoDbContext + + + + + A MongoDb Reader for read operations + + + + + The constructor taking a connection string and a database name. + + The connection string of the MongoDb server. + The name of the database against which you want to perform operations. + + + + The contructor taking a . + + A mongodb context implementing + + + + The contructor taking a . + + A mongodb context implementing + + + + Asynchronously returns one document given its id. + + The type representing a Document. + The Id of the document you want to get. + An optional partition key. + + + + Returns one document given its id. + + The type representing a Document. + The Id of the document you want to get. + An optional partition key. + + + + Asynchronously returns one document given an expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns one document given an expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns a collection cursor. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns true if any of the document of the collection matches the filter condition. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns true if any of the document of the collection matches the filter condition. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + + + + Asynchronously returns a list of the documents matching the filter condition. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns a list of the documents matching the filter condition. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + + + + Asynchronously counts how many documents match the filter condition. + + The type representing a Document. + A LINQ expression filter. + An optional partitionKey + + + + Counts how many documents match the filter condition. + + The type representing a Document. + A LINQ expression filter. + An optional partitionKey + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + A LINQ expression filter. + A property selector to order by descending. + An optional partitionKey. + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + A LINQ expression filter. + A property selector to order by descending. + An optional partitionKey. + + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partition key. + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partition key. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Asynchronously returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Returns a projected document matching the filter condition. + + The type representing a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Groups a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the grouping criteria. + The type of the projected group. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + + + + Groups filtered a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the grouping criteria. + The type of the projected group. + A LINQ expression filter. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + + + + Asynchronously returns a paginated list of the documents matching the filter condition. + + The type representing a Document. + A LINQ expression filter. + The property selector. + Order of the sorting. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. + An optional partition key. + + + + Asynchronously returns a paginated list of the documents matching the filter condition. + + The type representing a Document. + A LINQ expression filter. + The sort definition. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. + An optional partition key. + + + + Asynchronously Updates a document. + + The type representing a Document. + The document with the modifications you want to persist. + + + + Updates a document. + + The type representing a Document. + The document with the modifications you want to persist. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The document you want to modify. + The update definition for the document. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The document you want to modify. + The update definition for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. @@ -1960,29 +3471,17 @@ - The IMongoClient from the official MongoDb driver + The IMongoClient from the official MongoDB driver - The IMongoDatabase from the official Mongodb driver - - - - - Sets the Guid representation of the MongoDb Driver. - - The new value of the GuidRepresentation - - - - Initialize the Guid representation of the MongoDb Driver. - Override this method to change the default GuidRepresentation. + The IMongoDatabase from the official MongoDB driver - The constructor of the MongoDbContext, it needs a an object implementing . + The constructor of the MongoDbContext, it needs an object implementing . An object implementing IMongoDatabase @@ -1993,12 +3492,12 @@ The connections string. The name of your database. - + - Extracts the CollectionName attribute from the entity type, if any. + The constructor of the MongoDbContext, it needs a connection string and a database name. - The type representing a Document. - The name of the collection in which the TDocument is stored. + The MongoClient. + The name of your database. @@ -2013,9 +3512,28 @@ The type representing a Document. + + + Sets the Guid representation of the MongoDB Driver. + + The new value of the GuidRepresentation + + + + Extracts the CollectionName attribute from the entity type, if any. + + The type representing a Document. + The name of the collection in which the TDocument is stored. + + + + Initialize the Guid representation of the MongoDB Driver. + Override this method to change the default GuidRepresentation. + + - Given the docmuent type and the partition key, returns the name of the collection it belongs to. + Given the document type and the partition key, returns the name of the collection it belongs to. The type representing a Document. The value of the partition key. @@ -2030,22 +3548,8 @@ - The ReadOnlyMongoRepository implements the readonly functionality of the IReadOnlyMongoRepository. - - - - - The connection string. - - - - - The database name. - - - - - The MongoDbContext + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. + Its constructor must be given a connection string and a database name. @@ -2067,131 +3571,6 @@ A mongodb context implementing - - - Asynchronously returns one document given its id. - - The type representing a Document. - The Id of the document you want to get. - An optional partition key. - - - - Returns one document given its id. - - The type representing a Document. - The Id of the document you want to get. - An optional partition key. - - - - Asynchronously returns one document given an expression filter. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns one document given an expression filter. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns a collection cursor. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns true if any of the document of the collection matches the filter condition. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns true if any of the document of the collection matches the filter condition. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - - - - Asynchronously returns a list of the documents matching the filter condition. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns a list of the documents matching the filter condition. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - - - - Asynchronously counts how many documents match the filter condition. - - The type representing a Document. - A LINQ expression filter. - An optional partitionKey - - - - Counts how many documents match the filter condition. - - The type representing a Document. - A LINQ expression filter. - An optional partitionKey - - - - Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - A LINQ expression filter. - A property selector to order by descending. - An optional partitionKey. - - - - Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - A LINQ expression filter. - A property selector to order by descending. - An optional partitionKey. - - - - - Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - - - - Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - Asynchronously returns one document given its id. @@ -2331,56 +3710,15 @@ A property selector to order by ascending. An optional partitionKey. - - - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the primary key. - The type of the value used to order the query. - A LINQ expression filter. - A property selector to order by ascending. - An optional partition key. - - - - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the primary key. - The type of the value used to order the query. - A LINQ expression filter. - A property selector to order by descending. - An optional partition key. - - - - Gets the maximum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the value used to order the query. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - Gets the maximum value of a property in a mongodb collections that is satisfying the filter. The document type. The type of the primary key. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - - - - Gets the maximum value of a property in a mongodb collections that is satisfying the filter. - - The document type. The type of the value used to order the query. A LINQ expression filter. - A property selector to order by ascending. + A property selector to select the max value. An optional partitionKey. @@ -2394,16 +3732,6 @@ A property selector to order by ascending. An optional partitionKey. - - - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the value used to order the query. - A LINQ expression filter. - A property selector to order by ascending. - An optional partition key. - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. @@ -2415,16 +3743,6 @@ A property selector to order by ascending. An optional partition key. - - - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the value used to order the query. - A LINQ expression filter. - A property selector to order by ascending. - An optional partition key. - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. @@ -2436,21 +3754,141 @@ A property selector to order by ascending. An optional partition key. - + - Gets a collections for the type TDocument with the matching partition key (if any). + Sums the values of a selected field for a given filtered collection of documents. - The document type. - An optional partition key. - An + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. - + - Gets a collections for the type TDocument + Sums the values of a selected field for a given filtered collection of documents. - The document type. - The document. - + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Asynchronously returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + The document filter. + The projection expression. + An optional partition key. + + + + Groups filtered a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the primary key for a Document. + The type of the grouping criteria. + The type of the projected group. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + + + + Groups filtered a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the primary key for a Document. + The type of the grouping criteria. + The type of the projected group. + A LINQ expression filter. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + + + + Asynchronously returns a paginated list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The property selector. + Order of the sorting. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. + An optional partition key. + + + + Asynchronously returns a paginated list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The sort definition. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. + An optional partition key. @@ -2461,23 +3899,6 @@ The document. - - - Gets a collections for a potentially partitioned document type. - - The document type. - The collection partition key. - - - - - Gets a collections for the type TDocument with a partition key. - - The document type. - The type of the primary key. - The collection partition key. - - Gets a collections for a potentially partitioned document type. @@ -2487,13 +3908,22 @@ The collection partition key. - + - Converts a LINQ expression of TDocument, TValue to a LINQ expression of TDocument, object + Gets a collections for a potentially partitioned document type. The document type. - The type of the value. - The expression to convert + The document. + + + + + Gets a collections for the type TDocument with a partition key. + + The document type. + The type of the primary key. + The collection partition key. + diff --git a/MongoDbGenericRepository/lib/netstandard2.0/MongoDbGenericRepository.deps.json b/MongoDbGenericRepository/lib/netstandard2.0/MongoDbGenericRepository.deps.json index 1328c4a..332b98c 100644 --- a/MongoDbGenericRepository/lib/netstandard2.0/MongoDbGenericRepository.deps.json +++ b/MongoDbGenericRepository/lib/netstandard2.0/MongoDbGenericRepository.deps.json @@ -36,7 +36,10 @@ "System.Threading": "4.3.0" }, "runtime": { - "lib/netstandard1.3/DnsClient.dll": {} + "lib/netstandard1.3/DnsClient.dll": { + "assemblyVersion": "1.0.7.0", + "fileVersion": "1.0.7.0" + } } }, "Microsoft.NETCore.Platforms/1.1.0": {}, @@ -69,7 +72,10 @@ "System.Reflection.Emit.Lightweight": "4.0.1" }, "runtime": { - "lib/netstandard1.5/MongoDB.Bson.dll": {} + "lib/netstandard1.5/MongoDB.Bson.dll": { + "assemblyVersion": "2.7.0.0", + "fileVersion": "2.7.0.0" + } } }, "MongoDB.Driver/2.7.0": { @@ -81,7 +87,10 @@ "System.Linq.Queryable": "4.0.1" }, "runtime": { - "lib/netstandard1.5/MongoDB.Driver.dll": {} + "lib/netstandard1.5/MongoDB.Driver.dll": { + "assemblyVersion": "2.7.0.0", + "fileVersion": "2.7.0.0" + } } }, "MongoDB.Driver.Core/2.7.0": { @@ -96,7 +105,10 @@ "System.Security.SecureString": "4.0.0" }, "runtime": { - "lib/netstandard1.5/MongoDB.Driver.Core.dll": {} + "lib/netstandard1.5/MongoDB.Driver.Core.dll": { + "assemblyVersion": "2.7.0.0", + "fileVersion": "2.7.0.0" + } } }, "NETStandard.Library/2.0.3": { @@ -137,7 +149,10 @@ "System.Threading": "4.3.0" }, "runtime": { - "lib/netstandard1.1/System.Buffers.dll": {} + "lib/netstandard1.1/System.Buffers.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Collections/4.3.0": { @@ -161,7 +176,10 @@ "System.Threading.Tasks": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Collections.Concurrent.dll": {} + "lib/netstandard1.3/System.Collections.Concurrent.dll": { + "assemblyVersion": "4.0.13.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Collections.NonGeneric/4.0.1": { @@ -174,7 +192,10 @@ "System.Threading": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Collections.NonGeneric.dll": {} + "lib/netstandard1.3/System.Collections.NonGeneric.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "1.0.24212.1" + } } }, "System.Collections.Specialized/4.0.1": { @@ -188,7 +209,10 @@ "System.Threading": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Collections.Specialized.dll": {} + "lib/netstandard1.3/System.Collections.Specialized.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "1.0.24212.1" + } } }, "System.ComponentModel/4.0.1": { @@ -196,7 +220,10 @@ "System.Runtime": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.ComponentModel.dll": {} + "lib/netstandard1.3/System.ComponentModel.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "1.0.24212.1" + } } }, "System.ComponentModel.Primitives/4.1.0": { @@ -206,7 +233,10 @@ "System.Runtime": "4.3.0" }, "runtime": { - "lib/netstandard1.0/System.ComponentModel.Primitives.dll": {} + "lib/netstandard1.0/System.ComponentModel.Primitives.dll": { + "assemblyVersion": "4.1.0.0", + "fileVersion": "1.0.24212.1" + } } }, "System.ComponentModel.TypeConverter/4.1.0": { @@ -228,7 +258,10 @@ "System.Threading": "4.3.0" }, "runtime": { - "lib/netstandard1.5/System.ComponentModel.TypeConverter.dll": {} + "lib/netstandard1.5/System.ComponentModel.TypeConverter.dll": { + "assemblyVersion": "4.1.0.0", + "fileVersion": "1.0.24212.1" + } } }, "System.Diagnostics.Debug/4.3.0": { @@ -302,7 +335,10 @@ "System.Threading": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Dynamic.Runtime.dll": {} + "lib/netstandard1.3/System.Dynamic.Runtime.dll": { + "assemblyVersion": "4.0.11.0", + "fileVersion": "1.0.24212.1" + } } }, "System.Globalization/4.3.0": { @@ -356,7 +392,10 @@ "System.Runtime": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.IO.FileSystem.Primitives.dll": {} + "lib/netstandard1.3/System.IO.FileSystem.Primitives.dll": { + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Linq/4.3.0": { @@ -368,7 +407,10 @@ "System.Runtime.Extensions": "4.3.0" }, "runtime": { - "lib/netstandard1.6/System.Linq.dll": {} + "lib/netstandard1.6/System.Linq.dll": { + "assemblyVersion": "4.1.1.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Linq.Expressions/4.1.0": { @@ -392,7 +434,10 @@ "System.Threading": "4.3.0" }, "runtime": { - "lib/netstandard1.6/System.Linq.Expressions.dll": {} + "lib/netstandard1.6/System.Linq.Expressions.dll": { + "assemblyVersion": "4.1.0.0", + "fileVersion": "1.0.24212.1" + } } }, "System.Linq.Queryable/4.0.1": { @@ -407,7 +452,10 @@ "System.Runtime": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Linq.Queryable.dll": {} + "lib/netstandard1.3/System.Linq.Queryable.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "1.0.24212.1" + } } }, "System.Net.NameResolution/4.3.0": { @@ -514,7 +562,10 @@ "System.Threading": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.ObjectModel.dll": {} + "lib/netstandard1.3/System.ObjectModel.dll": { + "assemblyVersion": "4.0.12.0", + "fileVersion": "1.0.24212.1" + } } }, "System.Reflection/4.3.0": { @@ -535,7 +586,10 @@ "System.Runtime": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Reflection.Emit.dll": {} + "lib/netstandard1.3/System.Reflection.Emit.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "1.0.24212.1" + } } }, "System.Reflection.Emit.ILGeneration/4.0.1": { @@ -545,7 +599,10 @@ "System.Runtime": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Reflection.Emit.ILGeneration.dll": {} + "lib/netstandard1.3/System.Reflection.Emit.ILGeneration.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "1.0.24212.1" + } } }, "System.Reflection.Emit.Lightweight/4.0.1": { @@ -556,7 +613,10 @@ "System.Runtime": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Reflection.Emit.Lightweight.dll": {} + "lib/netstandard1.3/System.Reflection.Emit.Lightweight.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "1.0.24212.1" + } } }, "System.Reflection.Extensions/4.3.0": { @@ -580,7 +640,10 @@ "System.Runtime": "4.3.0" }, "runtime": { - "lib/netstandard1.5/System.Reflection.TypeExtensions.dll": {} + "lib/netstandard1.5/System.Reflection.TypeExtensions.dll": { + "assemblyVersion": "4.1.0.0", + "fileVersion": "1.0.24212.1" + } } }, "System.Resources.ResourceManager/4.3.0": { @@ -633,7 +696,10 @@ "runtime.native.System": "4.3.0" }, "runtime": { - "lib/netstandard1.1/System.Runtime.InteropServices.RuntimeInformation.dll": {} + "lib/netstandard1.1/System.Runtime.InteropServices.RuntimeInformation.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Runtime.Numerics/4.0.1": { @@ -644,7 +710,10 @@ "System.Runtime.Extensions": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Runtime.Numerics.dll": {} + "lib/netstandard1.3/System.Runtime.Numerics.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "1.0.24212.1" + } } }, "System.Security.Claims/4.3.0": { @@ -658,7 +727,10 @@ "System.Security.Principal": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Security.Claims.dll": {} + "lib/netstandard1.3/System.Security.Claims.dll": { + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Security.Cryptography.Algorithms/4.2.0": { @@ -743,7 +815,10 @@ "runtime.native.System.Security.Cryptography": "4.0.0" }, "runtime": { - "lib/netstandard1.6/System.Security.Cryptography.OpenSsl.dll": {} + "lib/netstandard1.6/System.Security.Cryptography.OpenSsl.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "1.0.24212.1" + } } }, "System.Security.Cryptography.Primitives/4.0.0": { @@ -757,7 +832,10 @@ "System.Threading.Tasks": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Security.Cryptography.Primitives.dll": {} + "lib/netstandard1.3/System.Security.Cryptography.Primitives.dll": { + "assemblyVersion": "4.0.0.0", + "fileVersion": "1.0.24212.1" + } } }, "System.Security.Cryptography.X509Certificates/4.1.0": { @@ -794,7 +872,10 @@ "System.Runtime": "4.3.0" }, "runtime": { - "lib/netstandard1.0/System.Security.Principal.dll": {} + "lib/netstandard1.0/System.Security.Principal.dll": { + "assemblyVersion": "4.0.2.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Security.Principal.Windows/4.3.0": { @@ -848,7 +929,10 @@ "System.Threading.Tasks": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Threading.dll": {} + "lib/netstandard1.3/System.Threading.dll": { + "assemblyVersion": "4.0.12.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Threading.Overlapped/4.3.0": { @@ -871,7 +955,10 @@ "System.Runtime": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Threading.Thread.dll": {} + "lib/netstandard1.3/System.Threading.Thread.dll": { + "assemblyVersion": "4.0.1.0", + "fileVersion": "4.6.24705.1" + } } }, "System.Threading.ThreadPool/4.3.0": { @@ -880,7 +967,10 @@ "System.Runtime.Handles": "4.3.0" }, "runtime": { - "lib/netstandard1.3/System.Threading.ThreadPool.dll": {} + "lib/netstandard1.3/System.Threading.ThreadPool.dll": { + "assemblyVersion": "4.0.11.0", + "fileVersion": "4.6.24705.1" + } } } } @@ -922,7 +1012,7 @@ "Microsoft.Win32.Registry/4.0.0": { "type": "package", "serviceable": true, - "sha512": "sha512-q+eLtROUAQ3OxYA5mpQrgyFgzLQxIyrfT2eLpYX5IEPlHmIio2nh4F5bgOaQoGOV865kFKZZso9Oq9RlazvXtg==", + "sha512": "sha512-mYUxH/YY9PwvuWY93/qsovFHAh+Lu2CNxNHWxB/x0dnpaEy6oIy/9d7R2J6dFaLZ7jhE7emLjn7A8kSzsP1A+Q==", "path": "microsoft.win32.registry/4.0.0", "hashPath": "microsoft.win32.registry.4.0.0.nupkg.sha512" }, @@ -971,7 +1061,7 @@ "runtime.native.System.Net.Security/4.0.1": { "type": "package", "serviceable": true, - "sha512": "sha512-Az6Ff6rZFb8nYGAaejFR6jr8ktt9f3e1Q/yKdw0pwHNTLaO/1eCAC9vzBoR9YAb0QeZD6fZXl1A9tRB5stpzXA==", + "sha512": "sha512-OpQmF7Ol4t3BVl+x2SURhymksME8f9Ke4uKWAVKPZhGZn6g5bBKvaSllV4nmNKgNQSIhM1x4IOtgc6/32H1OUg==", "path": "runtime.native.system.net.security/4.0.1", "hashPath": "runtime.native.system.net.security.4.0.1.nupkg.sha512" }, @@ -1027,14 +1117,14 @@ "System.ComponentModel.Primitives/4.1.0": { "type": "package", "serviceable": true, - "sha512": "sha512-sc/7eVCdxPrp3ljpgTKVaQGUXiW05phNWvtv/m2kocXqrUQvTVWKou1Edas2aDjTThLPZOxPYIGNb/HN0QjURg==", + "sha512": "sha512-mAaj8PXxM7hUSIJYm9chhSe90HaIVyl8vb4JJO0M7fRaeBqSaaveHdRAmOL0LcOxp7kf9Vb8HujCe02DUqG5HQ==", "path": "system.componentmodel.primitives/4.1.0", "hashPath": "system.componentmodel.primitives.4.1.0.nupkg.sha512" }, "System.ComponentModel.TypeConverter/4.1.0": { "type": "package", "serviceable": true, - "sha512": "sha512-MnDAlaeJZy9pdB5ZdOlwdxfpI+LJQ6e0hmH7d2+y2LkiD8DRJynyDYl4Xxf3fWFm7SbEwBZh4elcfzONQLOoQw==", + "sha512": "sha512-jcj79VC96yxc/rgLB59+g4675iVts1XrfC97dniMEvmJhRl8cG7qRO3EsJQwNw8cFL6RenFxn/CGfUhgj32SdQ==", "path": "system.componentmodel.typeconverter/4.1.0", "hashPath": "system.componentmodel.typeconverter.4.1.0.nupkg.sha512" }, @@ -1048,14 +1138,14 @@ "System.Diagnostics.Process/4.1.0": { "type": "package", "serviceable": true, - "sha512": "sha512-mpVZ5bnlSs3tTeJ6jYyDJEIa6tavhAd88lxq1zbYhkkCu0Pno2+gHXcvZcoygq2d8JxW3gojXqNJMTAshduqZA==", + "sha512": "sha512-4dlFhzwmI3hl32P+8c9hnytYtV7Xldhsokm5i7Fvv5PmTS68TQCfsuJrREIyF9N1B8zlsSomp7AVrXLe45kKFQ==", "path": "system.diagnostics.process/4.1.0", "hashPath": "system.diagnostics.process.4.1.0.nupkg.sha512" }, "System.Diagnostics.TraceSource/4.0.0": { "type": "package", "serviceable": true, - "sha512": "sha512-6WVCczFZKXwpWpzd/iJkYnsmWTSFFiU24Xx/YdHXBcu+nFI/ehTgeqdJQFbtRPzbrO3KtRNjvkhtj4t5/WwWsA==", + "sha512": "sha512-bGUeY5wiCHYSWbYZS3QjbaQ1hNoJ1RQBQMB3E0Cgh6AH//4rXfXIOHKIW46HDOsTEDoNfvFNDXphL5W5B/XMwQ==", "path": "system.diagnostics.tracesource/4.0.0", "hashPath": "system.diagnostics.tracesource.4.0.0.nupkg.sha512" }, @@ -1146,7 +1236,7 @@ "System.Net.NetworkInformation/4.3.0": { "type": "package", "serviceable": true, - "sha512": "sha512-zNVmWVry0pAu7lcrRBhwwU96WUdbsrGL3azyzsbXmVNptae1+Za+UgOe9Z6s8iaWhPn7/l4wQqhC56HZWq7tkg==", + "sha512": "sha512-MKLDZXuBZOS348egaxkMgwSUHIIhykVf0pudpfSdzjKmkRpVCzqkpysPHHp8HfckYAhuXRM+UgxWPgFTHF8Trg==", "path": "system.net.networkinformation/4.3.0", "hashPath": "system.net.networkinformation.4.3.0.nupkg.sha512" }, @@ -1160,7 +1250,7 @@ "System.Net.Security/4.0.0": { "type": "package", "serviceable": true, - "sha512": "sha512-uM1JaYJciCc2w7efD6du0EpQ1n5ZQqE6/P43/aI4H5E59qvP+wt3l70KIUF/Ha7NaeXGoGNFPVO0MB80pVHk2g==", + "sha512": "sha512-iavC4j5XrRyX3aXbn23jHHF0NTxw9F+2vi3a94VY4BgfrYm5VQBh8OzU1TkNahTSlcKzjGhEc7ZfTfe4b62J6Q==", "path": "system.net.security/4.0.0", "hashPath": "system.net.security.4.0.0.nupkg.sha512" }, @@ -1349,7 +1439,7 @@ "System.Security.SecureString/4.0.0": { "type": "package", "serviceable": true, - "sha512": "sha512-sqzq9GD6/b0yqPuMpgIKBuoLf4VKAj8oAfh4kXSzPaN6eoKY3hRi9C5L27uip25qlU+BGPfb0xh2Rmbwc4jFVA==", + "sha512": "sha512-7TGOnj9Lr8ljCJbMHjZC34hEw3Z+zRPp7eNhLBg22mbSqO8gQMGLJ/vQkWv8HFYG0t2i53ZulKZ8NNho+jVK7Q==", "path": "system.security.securestring/4.0.0", "hashPath": "system.security.securestring.4.0.0.nupkg.sha512" }, @@ -1377,7 +1467,7 @@ "System.Threading.Overlapped/4.3.0": { "type": "package", "serviceable": true, - "sha512": "sha512-m3HQ2dPiX/DSTpf+yJt8B0c+SRvzfqAJKx+QDWi+VLhz8svLT23MVjEOHPF/KiSLeArKU/iHescrbLd3yVgyNg==", + "sha512": "sha512-JpukcZA7kre2gQ7GrhtvZu1xv/LVEG5HV9AajQ3XV7l36T6ICalw/llfkBHeK/eqo8UWpMNqkWGCzzlSuqE6pg==", "path": "system.threading.overlapped/4.3.0", "hashPath": "system.threading.overlapped.4.3.0.nupkg.sha512" }, diff --git a/MongoDbGenericRepository/lib/netstandard2.0/MongoDbGenericRepository.dll b/MongoDbGenericRepository/lib/netstandard2.0/MongoDbGenericRepository.dll index 0136220..b7e76fc 100644 Binary files a/MongoDbGenericRepository/lib/netstandard2.0/MongoDbGenericRepository.dll and b/MongoDbGenericRepository/lib/netstandard2.0/MongoDbGenericRepository.dll differ diff --git a/MongoDbGenericRepository/lib/netstandard2.0/MongoDbGenericRepository.xml b/MongoDbGenericRepository/lib/netstandard2.0/MongoDbGenericRepository.xml index aa5ec45..817687c 100644 --- a/MongoDbGenericRepository/lib/netstandard2.0/MongoDbGenericRepository.xml +++ b/MongoDbGenericRepository/lib/netstandard2.0/MongoDbGenericRepository.xml @@ -6,502 +6,9 @@ - The IBaseMongoRepository exposes the CRUD functionality of the BaseMongoRepository. + The IBaseMongoRepository interface exposes the CRUD functionality of the BaseMongoRepository. - - - Asynchronously adds a document to the collection. - - The type representing a Document. - The document you want to add. - - - - Adds a document to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The document you want to add. - - - - Asynchronously adds a list of documents to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The document you want to add. - - - - Adds a list of documents to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The document you want to add. - - - - Asynchronously adds a document to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to add. - - - - Adds a document to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to add. - - - - Asynchronously adds a list of documents to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The type of the primary key for a Document. - The documents you want to add. - - - - Adds a list of documents to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The type of the primary key for a Document. - The documents you want to add. - - - - Asynchronously Updates a document. - - The type representing a Document. - The document with the modifications you want to persist. - - - - Updates a document. - - The type representing a Document. - The document with the modifications you want to persist. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - For the entity selected by the filter, updates the property field with the given value. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The document you want to modify. - The update definition for the document. - - - - For the entity selected by the filter, updates the property field with the given value. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The document you want to modify. - The update definition for the document. - - - - Asynchronously Updates a document. - - The type representing a Document. - The type of the primary key for a Document. - The document with the modifications you want to persist. - - - - Updates a document. - - The type representing a Document. - The type of the primary key for a Document. - The document with the modifications you want to persist. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to modify. - The update definition for the document. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to modify. - The update definition for the document. - - - - For the entity selected by the filter, updates the property field with the given value.. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - For the entity selected by the filter, updates the property field with the given value. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - Asynchronously deletes a document. - - The type representing a Document. - The document you want to delete. - The number of documents deleted. - - - - Asynchronously deletes a document matching the condition of the LINQ expression filter. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Deletes a document. - - The type representing a Document. - The document you want to delete. - The number of documents deleted. - - - - Deletes a document matching the condition of the LINQ expression filter. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Asynchronously deletes the documents matching the condition of the LINQ expression filter. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Asynchronously deletes a list of documents. - - The type representing a Document. - The list of documents to delete. - The number of documents deleted. - - - - Deletes a list of documents. - - The type representing a Document. - The list of documents to delete. - The number of documents deleted. - - - - Deletes the documents matching the condition of the LINQ expression filter. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Deletes a document. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to delete. - The number of documents deleted. - - - - Asynchronously deletes a document matching the condition of the LINQ expression filter. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to delete. - The number of documents deleted. - - - - Deletes a document matching the condition of the LINQ expression filter. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Asynchronously deletes a document matching the condition of the LINQ expression filter. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Asynchronously deletes the documents matching the condition of the LINQ expression filter. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Asynchronously deletes a list of documents. - - The type representing a Document. - The type of the primary key for a Document. - The list of documents to delete. - The number of documents deleted. - - - - Deletes a list of documents. - - The type representing a Document. - The type of the primary key for a Document. - The list of documents to delete. - The number of documents deleted. - - - - Deletes the documents matching the condition of the LINQ expression filter. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - The number of documents deleted. - - - - Asynchronously returns a projected document matching the filter condition. - - The type representing a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Asynchronously returns a projected document matching the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Returns a projected document matching the filter condition. - - The type representing a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Returns a projected document matching the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Asynchronously returns a list of projected documents matching the filter condition. - - The type representing a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Asynchronously returns a list of projected documents matching the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Asynchronously returns a list of projected documents matching the filter condition. - - The type representing a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Asynchronously returns a list of projected documents matching the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - Asynchronously returns a paginated list of the documents matching the filter condition. @@ -544,19 +51,289 @@ - + - Groups a collection of documents given a grouping criteria, - and returns a list of projected documents. + The IBaseReadOnlyRepository exposes the generic Read Only functionality of the BaseMongoRepository. + + + + + The connection string. + + + + + The database name. + + + + + Asynchronously returns one document given its id. The type representing a Document. - The type of the grouping criteria. - The type of the projected group. - The grouping criteria. - The projected group result. + The type of the primary key for a Document. + The Id of the document you want to get. + An optional partition key. + + + + Returns one document given its id. + + The type representing a Document. + The type of the primary key for a Document. + The Id of the document you want to get. + An optional partition key. + + + + Asynchronously returns one document given an expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns one document given an expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns a collection cursor. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns true if any of the document of the collection matches the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns true if any of the document of the collection matches the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Asynchronously returns a list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns a list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Asynchronously counts how many documents match the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partitionKey + + + + Counts how many documents match the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partitionKey + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by descending. + An optional partitionKey. + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by descending. + An optional partitionKey. + + + + Gets the document with the minimum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the document with the minimum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partition key. + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partition key. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. The partition key of your document, if any. - + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Asynchronously returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + + The projection expression. + An optional partition key. + + + + Returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + + The projection expression. + An optional partition key. + + Groups filtered a collection of documents given a grouping criteria, and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. @@ -564,174 +341,49 @@ The type representing a Document. The type of the grouping criteria. The type of the projected group. - - The grouping criteria. - The projected group result. + The type of the primary key. + The grouping criteria. + The projected group result. The partition key of your document, if any. - + - The repository interface for managing indexes - - - - - Create a text index on the given field. - IndexCreationOptions can be supplied to further specify - how the creation should be done. + Groups filtered a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. The type representing a Document. - The field we want to index. - Options for creating an index. - An optional partition key. - The result of the create index operation. + The type of the grouping criteria. + The type of the projected group. + The type of the primary key. + A LINQ expression filter. + The grouping criteria. + The projected group result. + The partition key of your document, if any. - + - Create a text index on the given field. - IndexCreationOptions can be supplied to further specify - how the creation should be done. + Asynchronously returns a paginated list of the documents matching the filter condition. The type representing a Document. The type of the primary key for a Document. - The field we want to index. - Options for creating an index. + A LINQ expression filter. + The property selector. + Order of the sorting. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. An optional partition key. - The result of the create index operation. - + - Creates an index on the given field in ascending order. - IndexCreationOptions can be supplied to further specify - how the creation should be done. - - The type representing a Document. - The field we want to index. - Options for creating an index. - An optional partition key. - The result of the create index operation. - - - - Creates an index on the given field in ascending order. - IndexCreationOptions can be supplied to further specify - how the creation should be done. + Asynchronously returns a paginated list of the documents matching the filter condition. The type representing a Document. The type of the primary key for a Document. - The field we want to index. - Options for creating an index. + A LINQ expression filter. + The sort definition. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. An optional partition key. - The result of the create index operation. - - - - Creates an index on the given field in descending order. - IndexCreationOptions can be supplied to further specify - how the creation should be done. - - The type representing a Document. - The field we want to index. - Options for creating an index. - An optional partition key. - A string containing the result of the operation. - - - - Creates an index on the given field in descending order. - IndexCreationOptions can be supplied to further specify - how the creation should be done. - - The type representing a Document. - The type of the primary key for a Document. - The field we want to index. - Options for creating an index. - An optional partition key. - The result of the create index operation. - - - - Creates a hashed index on the given field. - IndexCreationOptions can be supplied to further specify - how the creation should be done. - - The type representing a Document. - The field we want to index. - Options for creating an index. - An optional partition key. - A string containing the result of the operation. - - - - Creates a hashed index on the given field. - IndexCreationOptions can be supplied to further specify - how the creation should be done. - - The type representing a Document. - The type of the primary key for a Document. - The field we want to index. - Options for creating an index. - An optional partition key. - The result of the create index operation. - - - - Creates a combined text index. - IndexCreationOptions can be supplied to further specify - how the creation should be done. - - The type representing a Document. - The fields we want to index. - Options for creating an index. - An optional partition key. - The result of the create index operation. - - - - Creates a combined text index. - IndexCreationOptions can be supplied to further specify - how the creation should be done. - - The type representing a Document. - The type of the primary key for a Document. - The fields we want to index. - Options for creating an index. - An optional partition key. - The result of the create index operation. - - - - Drops the index given a field name - - The type representing a Document. - The name of the index - An optional partition key - - - - Drops the index given a field name - - The type representing a Document. - The type of the primary key for a Document. - The name of the index - An optional partition key - - - - Returns the names of the indexes present on a collection. - - The type representing a Document. - An optional partition key - A list containing the names of the indexes on on the concerned collection. - - - - Returns the names of the indexes present on a collection. - - The type representing a Document. - The type of the primary key for a Document. - An optional partition key - A list containing the names of the indexes on on the concerned collection. @@ -772,17 +424,7 @@ The IReadOnlyMongoRepository exposes the readonly functionality of the BaseMongoRepository. - - - The connection string. - - - - - The database name. - - - + Asynchronously returns one document given its id. @@ -790,7 +432,7 @@ The Id of the document you want to get. An optional partition key. - + Returns one document given its id. @@ -798,7 +440,7 @@ The Id of the document you want to get. An optional partition key. - + Asynchronously returns one document given an expression filter. @@ -806,7 +448,7 @@ A LINQ expression filter. An optional partition key. - + Returns one document given an expression filter. @@ -814,7 +456,7 @@ A LINQ expression filter. An optional partition key. - + Returns a collection cursor. @@ -822,7 +464,7 @@ A LINQ expression filter. An optional partition key. - + Asynchronously returns true if any of the document of the collection matches the filter condition. @@ -830,7 +472,7 @@ A LINQ expression filter. An optional partition key. - + Returns true if any of the document of the collection matches the filter condition. @@ -838,7 +480,7 @@ A LINQ expression filter. An optional partition key. - + Asynchronously returns a list of the documents matching the filter condition. @@ -846,7 +488,7 @@ A LINQ expression filter. An optional partition key. - + Returns a list of the documents matching the filter condition. @@ -854,7 +496,7 @@ A LINQ expression filter. An optional partition key. - + Asynchronously counts how many documents match the filter condition. @@ -862,7 +504,7 @@ A LINQ expression filter. An optional partition key. - + Counts how many documents match the filter condition. @@ -870,106 +512,7 @@ A LINQ expression filter. An optional partition key. - - - Asynchronously returns one document given its id. - - The type representing a Document. - The type of the primary key for a Document. - The Id of the document you want to get. - An optional partition key. - - - - Returns one document given its id. - - The type representing a Document. - The type of the primary key for a Document. - The Id of the document you want to get. - An optional partition key. - - - - Asynchronously returns one document given an expression filter. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns one document given an expression filter. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns a collection cursor. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns true if any of the document of the collection matches the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns true if any of the document of the collection matches the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - - - - Asynchronously returns a list of the documents matching the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns a list of the documents matching the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partition key. - - - - Asynchronously counts how many documents match the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partitionKey - - - - Counts how many documents match the filter condition. - - The type representing a Document. - The type of the primary key for a Document. - A LINQ expression filter. - An optional partitionKey - - + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. @@ -978,7 +521,7 @@ A property selector to order by descending. An optional partitionKey. - + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. @@ -988,7 +531,7 @@ An optional partitionKey. - + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. @@ -997,7 +540,7 @@ A property selector to order by ascending. An optional partitionKey. - + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. @@ -1006,47 +549,7 @@ A property selector to order by ascending. An optional partitionKey. - - - Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - The type of the primary key. - A LINQ expression filter. - A property selector to order by descending. - An optional partitionKey. - - - - Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - The type of the primary key. - A LINQ expression filter. - A property selector to order by descending. - An optional partitionKey. - - - - Gets the document with the minimum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - The type of the primary key. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - - - - Gets the document with the minimum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - The type of the primary key. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - - + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. @@ -1056,17 +559,7 @@ A property selector to order by ascending. An optional partitionKey. - - - Gets the maximum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the primary key. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - - + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. @@ -1076,17 +569,7 @@ A property selector to order by ascending. An optional partitionKey. - - - Gets the maximum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the primary key. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - - + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. @@ -1096,18 +579,7 @@ A property selector to order by ascending. An optional partition key. - - - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the primary key. - The type of the value used to order the query. - A LINQ expression filter. - A property selector to order by ascending. - An optional partition key. - - + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. @@ -1117,17 +589,108 @@ A property selector to order by ascending. An optional partition key. - + - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + Sums the values of a selected field for a given filtered collection of documents. - The document type. - The type of the primary key. - The type of the value used to order the query. + The type representing a Document. A LINQ expression filter. - A property selector to order by ascending. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Asynchronously returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. An optional partition key. + + + Returns a projected document matching the filter condition. + + The type representing a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Groups a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the grouping criteria. + The type of the projected group. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + + + + Groups filtered a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the grouping criteria. + The type of the projected group. + A LINQ expression filter. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + This attribute allows you to specify of the name of the collection. @@ -1148,6 +711,42 @@ The name of the collection. + + + Asynchronously adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to add. + + + + Adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to add. + + + + Asynchronously adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The documents you want to add. + + + + Adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The documents you want to add. + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. @@ -1157,57 +756,14 @@ The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. Its constructor must be given a connection string and a database name. - - - The constructor taking a connection string and a database name. + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. + Its constructor must be given a connection string and a database name. - The connection string of the MongoDb server. - The name of the database against which you want to perform operations. - - - The contructor taking a . + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. + Its constructor must be given a connection string and a database name. - A mongodb context implementing - - - - The contructor taking a . - - A mongodb context implementing - - - - Asynchronously adds a document to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The document you want to add. - - - - Adds a document to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The document you want to add. - - - - Asynchronously adds a list of documents to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The documents you want to add. - - - - Adds a list of documents to the collection. - Populates the Id and AddedAtUtc fields if necessary. - - The type representing a Document. - The documents you want to add. @@ -1218,6 +774,14 @@ The type of the primary key for a Document. The document you want to add. + + + Asynchronously adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The document you want to add. + Adds a document to the collection. @@ -1227,6 +791,14 @@ The type of the primary key for a Document. The document you want to add. + + + Adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The document you want to add. + Asynchronously adds a list of documents to the collection. @@ -1236,6 +808,14 @@ The type of the primary key for a Document. The documents you want to add. + + + Asynchronously adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The documents you want to add. + Adds a list of documents to the collection. @@ -1245,203 +825,13 @@ The type of the primary key for a Document. The documents you want to add. - + - Asynchronously Updates a document. + Adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. The type representing a Document. - The document with the modifications you want to persist. - - - - Updates a document. - - The type representing a Document. - The document with the modifications you want to persist. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The document you want to modify. - The update definition for the document. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - For the entity selected by the filter, updates the property field with the given value. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - For the entity selected by the filter, updates the property field with the given value. - - The type representing a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The document you want to modify. - The update definition for the document. - - - - Asynchronously Updates a document. - - The type representing a Document. - The type of the primary key for a Document. - The document with the modifications you want to persist. - - - - Updates a document. - - The type representing a Document. - The type of the primary key for a Document. - The document with the modifications you want to persist. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to modify. - The update definition for the document. - - - - Takes a document you want to modify and applies the update you have defined in MongoDb. - - The type representing a Document. - The type of the primary key for a Document. - The document you want to modify. - The update definition for the document. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document you want to modify. - The field selector. - The new value of the property field. - - - - Updates the property field with the given value update a property field in entities. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - For the entity selected by the filter, updates the property field with the given value. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. - - - - Updates the property field with the given value. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The value of the partition key. - - - - For the entity selected by the filter, updates the property field with the given value. - - The type representing a Document. - The type of the primary key for a Document. - The type of the field. - The document filter. - The field selector. - The new value of the property field. - The partition key for the document. + The documents you want to add. @@ -1587,121 +977,154 @@ An optional partition key. The number of documents deleted. - + - Asynchronously returns a projected document matching the filter condition. - - The type representing a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. - - - - Asynchronously returns a projected document matching the filter condition. + Returns the names of the indexes present on a collection. The type representing a Document. The type of the primary key for a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. + An optional partition key + A list containing the names of the indexes on on the concerned collection. - + - Returns a projected document matching the filter condition. + Returns the names of the indexes present on a collection. The type representing a Document. - The type representing the model you want to project to. - - The projection expression. - An optional partition key. + An optional partition key + A list containing the names of the indexes on on the concerned collection. - + - Returns a projected document matching the filter condition. + Create a text index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Create a text index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. The type representing a Document. The type of the primary key for a Document. - The type representing the model you want to project to. - - The projection expression. + The field we want to index. + Options for creating an index. An optional partition key. + The result of the create index operation. - + - Asynchronously returns a list of projected documents matching the filter condition. + Creates an index on the given field in ascending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. The type representing a Document. - The type representing the model you want to project to. - - The projection expression. + The field we want to index. + Options for creating an index. An optional partition key. + The result of the create index operation. - + - Asynchronously returns a list of projected documents matching the filter condition. + Creates an index on the given field in ascending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. The type representing a Document. The type of the primary key for a Document. - The type representing the model you want to project to. - - The projection expression. + The field we want to index. + Options for creating an index. An optional partition key. + The result of the create index operation. - + - Asynchronously returns a list of projected documents matching the filter condition. + Creates an index on the given field in descending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. The type representing a Document. - The type representing the model you want to project to. - - The projection expression. + The field we want to index. + Options for creating an index. An optional partition key. + The result of the create index operation. - + + + + - Asynchronously returns a list of projected documents matching the filter condition. + Creates a hashed index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. The type representing a Document. - The type of the primary key for a Document. - The type representing the model you want to project to. - The document filter. - The projection expression. + The field we want to index. + Options for creating an index. An optional partition key. + The result of the create index operation. - + + + + - Groups a collection of documents given a grouping criteria, - and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + Creates a combined text index. + IndexCreationOptions can be supplied to further specify + how the creation should be done. The type representing a Document. - The type of the grouping criteria. - The type of the projected group. - The grouping criteria. - The projected group result. - The partition key of your document, if any. + The fields we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. - + + + + - Groups filtered a collection of documents given a grouping criteria, - and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + Drops the index given a field name The type representing a Document. - The type of the grouping criteria. - The type of the projected group. - - The grouping criteria. - The projected group result. - The partition key of your document, if any. + The name of the index + An optional partition key + + + + + + + The constructor taking a connection string and a database name. + + The connection string of the MongoDb server. + The name of the database against which you want to perform operations. + + + + The contructor taking a . + + A mongodb context implementing + + + + The contructor taking a . + + A mongodb context implementing Asynchronously returns a paginated list of the documents matching the filter condition. The type representing a Document. - + A LINQ expression filter. The number of documents you want to skip. Default value is 0. The number of documents you want to take. Default value is 50. An optional partition key. @@ -1712,7 +1135,7 @@ The type representing a Document. The type of the primary key for a Document. - + A LINQ expression filter. The number of documents you want to skip. Default value is 0. The number of documents you want to take. Default value is 50. An optional partition key. @@ -1722,7 +1145,7 @@ GetAndUpdateOne with filter The type representing a Document. - + A LINQ expression filter. @@ -1733,7 +1156,7 @@ The type representing a Document. The type of the primary key for a Document. - + A LINQ expression filter. @@ -1753,47 +1176,2135 @@ The document type. The document. - - + + + Gets a collections for a potentially partitioned document type. + + The document type. + The collection partition key. + - - + + + Gets a collections for the type TDocument with a partition key. + + The document type. + The collection partition key. + - - + + + Asynchronously Updates a document. + + The type representing a Document. + The document with the modifications you want to persist. - - + + + Updates a document. + + The type representing a Document. + The document with the modifications you want to persist. - - + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The document you want to modify. + The update definition for the document. - - + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The document you want to modify. + The update definition for the document. - - + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. - - + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. - - + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. - - + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. - - + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. - - + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. - - + + + Asynchronously Updates a document. + + The type representing a Document. + The type of the primary key for a Document. + The document with the modifications you want to persist. - - + + + Updates a document. + + The type representing a Document. + The type of the primary key for a Document. + The document with the modifications you want to persist. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to modify. + The update definition for the document. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to modify. + The update definition for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + Deletes a document. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to delete. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to delete. + The number of documents deleted. + + + + Deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a list of documents. + + The type representing a Document. + The type of the primary key for a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes a list of documents. + + The type representing a Document. + The type of the primary key for a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Returns the names of the indexes present on a collection. + + The type representing a Document. + The type of the primary key for a Document. + An optional partition key + A list containing the names of the indexes on on the concerned collection. + + + + Create a text index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in ascending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in descending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a hashed index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a combined text index. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The fields we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Drops the index given a field name + + The type representing a Document. + The type of the primary key for a Document. + The name of the index + An optional partition key + + + + Asynchronously Updates a document. + + The type representing a Document. + The type of the primary key for a Document. + The document with the modifications you want to persist. + + + + Updates a document. + + The type representing a Document. + The type of the primary key for a Document. + The document with the modifications you want to persist. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to modify. + The update definition for the document. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to modify. + The update definition for the document. + + + + For the entity selected by the filter, updates the property field with the given value.. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + Gets a collections for a potentially partitioned document type. + + The document type. + The type of the primary key. + The document. + + + + + Gets a collections for the type TDocument with a partition key. + + The document type. + The type of the primary key. + The collection partition key. + + + + + Gets a collections for a potentially partitioned document type. + + The document type. + The type of the primary key. + The collection partition key. + + + + + Converts a LINQ expression of TDocument, TValue to a LINQ expression of TDocument, object + + The document type. + The type of the value. + The expression to convert + + + + Maps a IndexCreationOptions object to a MongoDB.Driver.CreateIndexOptions object + + The options for creating an index. + + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partition key. + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by descending. + An optional partition key. + + + + Asynchronously adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to add. + + + + Adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to add. + + + + Asynchronously adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The documents you want to add. + + + + Adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The type of the primary key for a Document. + The documents you want to add. + + + + Sets the value of the document Id if it is not set already. + + The document type. + The type of the primary key. + The document. + + + + Deletes a document. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to delete. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to delete. + The number of documents deleted. + + + + Deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a list of documents. + + The type representing a Document. + The type of the primary key for a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes a list of documents. + + The type representing a Document. + The type of the primary key for a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Returns the names of the indexes present on a collection. + + The type representing a Document. + The type of the primary key for a Document. + An optional partition key + A list containing the names of the indexes on on the concerned collection. + + + + Create a text index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in ascending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in descending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a hashed index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a combined text index. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The type of the primary key for a Document. + The fields we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Drops the index given a field name + + The type representing a Document. + The type of the primary key for a Document. + The name of the index + An optional partition key + + + + Asynchronously returns one document given its id. + + The type representing a Document. + The type of the primary key for a Document. + The Id of the document you want to get. + An optional partition key. + + + + Returns one document given its id. + + The type representing a Document. + The type of the primary key for a Document. + The Id of the document you want to get. + An optional partition key. + + + + Asynchronously returns one document given an expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns one document given an expression filter. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns a collection cursor. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns true if any of the document of the collection matches the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns true if any of the document of the collection matches the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Asynchronously returns a list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns a list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partition key. + + + + Asynchronously counts how many documents match the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partitionKey + + + + Counts how many documents match the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + An optional partitionKey + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by descending. + An optional partitionKey. + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by descending. + An optional partitionKey. + + + + Gets the document with the minimum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the document with the minimum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partition key. + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the primary key. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partition key. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Groups a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the primary key for a Document. + The type of the grouping criteria. + The type of the projected group. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + + + + Groups filtered a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the primary key for a Document. + The type of the grouping criteria. + The type of the projected group. + A LINQ expression filter. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + + + + Asynchronously returns a paginated list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The property selector. + Order of the sorting. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. + An optional partition key. + + + + Asynchronously returns a paginated list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The sort definition. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. + An optional partition key. + + + + Asynchronously returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + The document filter. + The projection expression. + An optional partition key. + + + + Asynchronously Updates a document. + + The type representing a Document. + The type of the primary key for a Document. + The document with the modifications you want to persist. + + + + Updates a document. + + The type representing a Document. + The type of the primary key for a Document. + The document with the modifications you want to persist. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to modify. + The update definition for the document. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The type of the primary key for a Document. + The document you want to modify. + The update definition for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + Updates the property field with the given value. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the primary key for a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + The interface exposing data insertion functionality for Key typed repositories. + + + + + + Asynchronously adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The document you want to add. + + + + Adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The document you want to add. + + + + Asynchronously adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The documents you want to add. + + + + Adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The documents you want to add. + + + + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. + Its constructor must be given a connection string and a database name. + + + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. + Its constructor must be given a connection string and a database name. + + + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. + Its constructor must be given a connection string and a database name. + + The type of the document Id. + + + + The MongoDb accessor to insert data. + + + + + Asynchronously adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The document you want to add. + + + + Adds a document to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The document you want to add. + + + + Asynchronously adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The documents you want to add. + + + + Adds a list of documents to the collection. + Populates the Id and AddedAtUtc fields if necessary. + + The type representing a Document. + The documents you want to add. + + + + The MongoDb accessor to delete data. + + + + + Deletes a document. + + The type representing a Document. + The document you want to delete. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The document you want to delete. + The number of documents deleted. + + + + Deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a list of documents. + + The type representing a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes a list of documents. + + The type representing a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + The MongoDb accessor to manage indexes. + + + + + Returns the names of the indexes present on a collection. + + The type representing a Document. + An optional partition key + A list containing the names of the indexes on on the concerned collection. + + + + Create a text index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in ascending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in descending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a hashed index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a combined text index. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The fields we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Drops the index given a field name + + The type representing a Document. + The name of the index + An optional partition key + + + + The constructor taking a connection string and a database name. + + The connection string of the MongoDb server. + The name of the database against which you want to perform operations. + + + + The contructor taking a . + + A mongodb context implementing + + + + The contructor taking a . + + A mongodb context implementing + + + + Gets a collections for a potentially partitioned document type. + + The document type. + The collection partition key. + + + + + Gets a collections for the type TDocument with a partition key. + + The document type. + The collection partition key. + + + + + Asynchronously Updates a document. + + The type representing a Document. + The document with the modifications you want to persist. + + + + Updates a document. + + The type representing a Document. + The document with the modifications you want to persist. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The document you want to modify. + The update definition for the document. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The document you want to modify. + The update definition for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + The interface exposing deletion functionality for Key typed repositories. + + The type of the document Id. + + + + Deletes a document. + + The type representing a Document. + The document you want to delete. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + The document you want to delete. + The number of documents deleted. + + + + Deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a document matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + Asynchronously deletes a list of documents. + + The type representing a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes a list of documents. + + The type representing a Document. + The list of documents to delete. + The number of documents deleted. + + + + Deletes the documents matching the condition of the LINQ expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + The number of documents deleted. + + + + The interface exposing index management functionality for Key typed repositories. + + + + + + Returns the names of the indexes present on a collection. + + The type representing a Document. + An optional partition key + A list containing the names of the indexes on on the concerned collection. + + + + Create a text index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in ascending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates an index on the given field in descending order. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a hashed index on the given field. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The field we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Creates a combined text index. + IndexCreationOptions can be supplied to further specify + how the creation should be done. + + The type representing a Document. + The fields we want to index. + Options for creating an index. + An optional partition key. + The result of the create index operation. + + + + Drops the index given a field name + + The type representing a Document. + The name of the index + An optional partition key + + + + The interface exposing all the CRUD and Index functionalities for Key typed repositories. + + The type of the document Id. + + + + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. + Its constructor must be given a connection string and a database name. + + + + + The connection string. + + + + + The database name. + + + + + The MongoDbContext + + + + + A MongoDb Reader for read operations + + + + + The constructor taking a connection string and a database name. + + The connection string of the MongoDb server. + The name of the database against which you want to perform operations. + + + + The contructor taking a . + + A mongodb context implementing + + + + The contructor taking a . + + A mongodb context implementing + + + + Asynchronously returns one document given its id. + + The type representing a Document. + The Id of the document you want to get. + An optional partition key. + + + + Returns one document given its id. + + The type representing a Document. + The Id of the document you want to get. + An optional partition key. + + + + Asynchronously returns one document given an expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns one document given an expression filter. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns a collection cursor. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns true if any of the document of the collection matches the filter condition. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns true if any of the document of the collection matches the filter condition. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + + + + Asynchronously returns a list of the documents matching the filter condition. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + + + + Returns a list of the documents matching the filter condition. + + The type representing a Document. + A LINQ expression filter. + An optional partition key. + + + + Asynchronously counts how many documents match the filter condition. + + The type representing a Document. + A LINQ expression filter. + An optional partitionKey + + + + Counts how many documents match the filter condition. + + The type representing a Document. + A LINQ expression filter. + An optional partitionKey + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + A LINQ expression filter. + A property selector to order by descending. + An optional partitionKey. + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + A LINQ expression filter. + A property selector to order by descending. + An optional partitionKey. + + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. + + The document type. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the maximum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partitionKey. + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partition key. + + + + Gets the minimum value of a property in a mongodb collections that is satisfying the filter. + + The document type. + The type of the value used to order the query. + A LINQ expression filter. + A property selector to order by ascending. + An optional partition key. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Asynchronously returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Returns a projected document matching the filter condition. + + The type representing a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Groups a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the grouping criteria. + The type of the projected group. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + + + + Groups filtered a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the grouping criteria. + The type of the projected group. + A LINQ expression filter. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + + + + Asynchronously returns a paginated list of the documents matching the filter condition. + + The type representing a Document. + A LINQ expression filter. + The property selector. + Order of the sorting. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. + An optional partition key. + + + + Asynchronously returns a paginated list of the documents matching the filter condition. + + The type representing a Document. + A LINQ expression filter. + The sort definition. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. + An optional partition key. + + + + Asynchronously Updates a document. + + The type representing a Document. + The document with the modifications you want to persist. + + + + Updates a document. + + The type representing a Document. + The document with the modifications you want to persist. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The document you want to modify. + The update definition for the document. + + + + Takes a document you want to modify and applies the update you have defined in MongoDb. + + The type representing a Document. + The document you want to modify. + The update definition for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document you want to modify. + The field selector. + The new value of the property field. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. + + + + Updates the property field with the given value update a property field in entities. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The value of the partition key. + + + + For the entity selected by the filter, updates the property field with the given value. + + The type representing a Document. + The type of the field. + The document filter. + The field selector. + The new value of the property field. + The partition key for the document. @@ -1960,29 +3471,17 @@ - The IMongoClient from the official MongoDb driver + The IMongoClient from the official MongoDB driver - The IMongoDatabase from the official Mongodb driver - - - - - Sets the Guid representation of the MongoDb Driver. - - The new value of the GuidRepresentation - - - - Initialize the Guid representation of the MongoDb Driver. - Override this method to change the default GuidRepresentation. + The IMongoDatabase from the official MongoDB driver - The constructor of the MongoDbContext, it needs a an object implementing . + The constructor of the MongoDbContext, it needs an object implementing . An object implementing IMongoDatabase @@ -1993,12 +3492,12 @@ The connections string. The name of your database. - + - Extracts the CollectionName attribute from the entity type, if any. + The constructor of the MongoDbContext, it needs a connection string and a database name. - The type representing a Document. - The name of the collection in which the TDocument is stored. + The MongoClient. + The name of your database. @@ -2013,9 +3512,28 @@ The type representing a Document. + + + Sets the Guid representation of the MongoDB Driver. + + The new value of the GuidRepresentation + + + + Extracts the CollectionName attribute from the entity type, if any. + + The type representing a Document. + The name of the collection in which the TDocument is stored. + + + + Initialize the Guid representation of the MongoDB Driver. + Override this method to change the default GuidRepresentation. + + - Given the docmuent type and the partition key, returns the name of the collection it belongs to. + Given the document type and the partition key, returns the name of the collection it belongs to. The type representing a Document. The value of the partition key. @@ -2030,22 +3548,8 @@ - The ReadOnlyMongoRepository implements the readonly functionality of the IReadOnlyMongoRepository. - - - - - The connection string. - - - - - The database name. - - - - - The MongoDbContext + The base Repository, it is meant to be inherited from by your custom custom MongoRepository implementation. + Its constructor must be given a connection string and a database name. @@ -2067,131 +3571,6 @@ A mongodb context implementing - - - Asynchronously returns one document given its id. - - The type representing a Document. - The Id of the document you want to get. - An optional partition key. - - - - Returns one document given its id. - - The type representing a Document. - The Id of the document you want to get. - An optional partition key. - - - - Asynchronously returns one document given an expression filter. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns one document given an expression filter. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns a collection cursor. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns true if any of the document of the collection matches the filter condition. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns true if any of the document of the collection matches the filter condition. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - - - - Asynchronously returns a list of the documents matching the filter condition. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - - - - Returns a list of the documents matching the filter condition. - - The type representing a Document. - A LINQ expression filter. - An optional partition key. - - - - Asynchronously counts how many documents match the filter condition. - - The type representing a Document. - A LINQ expression filter. - An optional partitionKey - - - - Counts how many documents match the filter condition. - - The type representing a Document. - A LINQ expression filter. - An optional partitionKey - - - - Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - A LINQ expression filter. - A property selector to order by descending. - An optional partitionKey. - - - - Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - A LINQ expression filter. - A property selector to order by descending. - An optional partitionKey. - - - - - Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - - - - Gets the document with the maximum value of a specified property in a MongoDB collections that is satisfying the filter. - - The document type. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - Asynchronously returns one document given its id. @@ -2331,56 +3710,15 @@ A property selector to order by ascending. An optional partitionKey. - - - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the primary key. - The type of the value used to order the query. - A LINQ expression filter. - A property selector to order by ascending. - An optional partition key. - - - - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the primary key. - The type of the value used to order the query. - A LINQ expression filter. - A property selector to order by descending. - An optional partition key. - - - - Gets the maximum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the value used to order the query. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - Gets the maximum value of a property in a mongodb collections that is satisfying the filter. The document type. The type of the primary key. - A LINQ expression filter. - A property selector to order by ascending. - An optional partitionKey. - - - - Gets the maximum value of a property in a mongodb collections that is satisfying the filter. - - The document type. The type of the value used to order the query. A LINQ expression filter. - A property selector to order by ascending. + A property selector to select the max value. An optional partitionKey. @@ -2394,16 +3732,6 @@ A property selector to order by ascending. An optional partitionKey. - - - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the value used to order the query. - A LINQ expression filter. - A property selector to order by ascending. - An optional partition key. - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. @@ -2415,16 +3743,6 @@ A property selector to order by ascending. An optional partition key. - - - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. - - The document type. - The type of the value used to order the query. - A LINQ expression filter. - A property selector to order by ascending. - An optional partition key. - Gets the minimum value of a property in a mongodb collections that is satisfying the filter. @@ -2436,21 +3754,141 @@ A property selector to order by ascending. An optional partition key. - + - Gets a collections for the type TDocument with the matching partition key (if any). + Sums the values of a selected field for a given filtered collection of documents. - The document type. - An optional partition key. - An + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. - + - Gets a collections for the type TDocument + Sums the values of a selected field for a given filtered collection of documents. - The document type. - The document. - + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Sums the values of a selected field for a given filtered collection of documents. + + The type representing a Document. + The type of the primary key. + A LINQ expression filter. + The field you want to sum. + The partition key of your document, if any. + + + + Asynchronously returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Returns a projected document matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + A LINQ expression filter. + The projection expression. + An optional partition key. + + + + Asynchronously returns a list of projected documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + The type representing the model you want to project to. + The document filter. + The projection expression. + An optional partition key. + + + + Groups filtered a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the primary key for a Document. + The type of the grouping criteria. + The type of the projected group. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + + + + Groups filtered a collection of documents given a grouping criteria, + and returns a dictionary of listed document groups with keys having the different values of the grouping criteria. + + The type representing a Document. + The type of the primary key for a Document. + The type of the grouping criteria. + The type of the projected group. + A LINQ expression filter. + The grouping criteria. + The projected group result. + The partition key of your document, if any. + + + + Asynchronously returns a paginated list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The property selector. + Order of the sorting. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. + An optional partition key. + + + + Asynchronously returns a paginated list of the documents matching the filter condition. + + The type representing a Document. + The type of the primary key for a Document. + A LINQ expression filter. + The sort definition. + The number of documents you want to skip. Default value is 0. + The number of documents you want to take. Default value is 50. + An optional partition key. @@ -2461,23 +3899,6 @@ The document. - - - Gets a collections for a potentially partitioned document type. - - The document type. - The collection partition key. - - - - - Gets a collections for the type TDocument with a partition key. - - The document type. - The type of the primary key. - The collection partition key. - - Gets a collections for a potentially partitioned document type. @@ -2487,13 +3908,22 @@ The collection partition key. - + - Converts a LINQ expression of TDocument, TValue to a LINQ expression of TDocument, object + Gets a collections for a potentially partitioned document type. The document type. - The type of the value. - The expression to convert + The document. + + + + + Gets a collections for the type TDocument with a partition key. + + The document type. + The type of the primary key. + The collection partition key. +