Commit Graph

124 Commits

Author SHA1 Message Date
Daniel Gasson dca01b184c Allow initialisation of MongoDbContext with connection string only 2019-06-18 11:33:26 +01:00
Alexandre SPIESER b1cda2ac50 adding client session to mongodb updater methods 2019-05-18 19:49:44 +01:00
Alexandre SPIESER 1a7763a312 1.4.0 release 2019-04-18 08:21:18 +01:00
Alexandre SPIESER 77cc85574c Update BaseMongoRepository.TKey.Update.cs 2019-04-17 19:08:13 +01:00
Alexandre SPIESER 846bb16730 Update BaseMongoRepository.TKey.Index.cs 2019-04-17 19:05:17 +01:00
Alexandre SPIESER 5e4cbfa1b3 Update BaseMongoRepository.TKey.Delete.cs 2019-04-17 19:04:38 +01:00
Alexandre SPIESER 804dc18c4f Update BaseMongoRepository.TKey.Create.cs 2019-04-17 19:03:59 +01:00
Alexandre SPIESER 182ee0a335 Update BaseMongoRepository.Update.cs 2019-04-17 19:02:57 +01:00
Alexandre SPIESER bd662d25d6 Update BaseMongoRepository.Index.cs 2019-04-17 19:00:33 +01:00
Alexandre SPIESER 6c8d4bdafb Update BaseMongoRepository.Delete.cs 2019-04-17 18:59:27 +01:00
Alexandre SPIESER 4d94a1b436 Update BaseMongoRepository.Create.cs 2019-04-17 18:58:47 +01:00
Alexandre SPIESER 530309e9fc added test suite for BaseMongoRepository<TKey> 2019-04-15 00:26:10 +01:00
Alexandre SPIESER baaf2b5ee9 tests now full clear the mongo collections / added GetSortedPaginatedAsync + tests 2019-04-14 22:47:06 +01:00
Alexandre SPIESER d2df667b3f added objectid tests 2019-04-14 20:18:37 +01:00
Alexandre SPIESER 8ccced66ea adding group by test 2019-04-14 20:07:56 +01:00
Alexandre SPIESER 2207f2f1a1 rename after full refactor 2019-04-14 19:31:28 +01:00
Alexandre SPIESER 0626292d09 fixed some tests 2019-04-14 18:10:45 +01:00
Alexandre SPIESER 29f01d2dab better segregation of concern and interfaces. 2019-04-14 17:58:31 +01:00
Alexandre SPIESER a7391e06f8 first step to split function into separate classes for better reuse and easier maintenance. 2019-04-11 23:59:34 +01:00
Alexandre SPIESER d2f465b063 reorg + inheritance setup, using interface segregation to split concern / exposure of <TDocument,TKey> methods. 2019-04-10 23:48:44 +01:00
Alexandre SPIESER ba723be738 adding Key typed base repo functionality 2019-04-04 23:45:07 +01:00
Alexandre SPIESER f773e599d0 some good progress on refactoring into the KeyTyped repo for read only functionality 2019-04-04 22:48:09 +01:00
Alexandre SPIESER 9edd7e97fe moving TKEY related methods to there own partial class in the readonly repo 2019-02-07 08:48:36 +00:00
Alexandre SPIESER b77978e57a introucting KeyTypedReadOnlyMongoRepository 2019-02-07 08:47:27 +00:00
Alexandre SPIESER 4ac0ffe91c added tests for the sumbyasync methods 2019-02-04 23:11:36 +00:00
Alexandre SPIESER eaa90d67f5 sum for decimal fields, untested. 2019-01-02 23:43:37 +00:00
Alexandre SPIESER 2d866d966c Update MongoDbContext.cs
Added a MongoDbContext ctor that takes a MongoClient for custom setup.
2018-12-04 12:58:44 +00:00
alexandre-spieser 0cf24b1dcf integration tested index management functionality 2018-10-07 19:05:59 +01:00
alexandre-spieser fd8f98e375 adding more tests 2018-10-01 22:31:08 +01:00
alexandre-spieser 0b939592ba Implementation of index management.CreateTextIndexWithOptionAsync is failing. 2018-09-30 19:07:38 +01:00
alexandre-spieser ad18170804 work on indexes continued 2018-09-17 22:39:14 +01:00
alexandre-spieser 099e16a88c prep work on indexes methods 2018-09-17 08:41:36 +01:00
alexandre-spieser e41a73f745 1.3.7 release 2018-09-09 18:55:53 +01:00
alexandre-spieser 526adf0a23 remove unused using statements 2018-09-09 13:31:42 +01:00
alexandre-spieser db4061dc3c cleanup. Removing redundant GetCollection and Drop collection method, removed static constructor, added a virtual initialization method. 2018-09-09 13:05:45 +01:00
alexandre-spieser 72ea6e7999 clean up + full support for bulk insertion and deletion of documents of the same type but with different partitionkey values 2018-09-09 12:14:43 +01:00
alexandre-spieser 7f126a098d support insertion of documents with different PartitionKey values 2018-09-03 21:46:30 +01:00
alexandre-spieser 456af09a84 + Upgraded packages
+ Added GetByMax, GetByMaxAsync, GetByMin, GetByMinAsync, GetMaxValue and GetMaxValueAsync Methods (GetMinValue and GetMinValueAsync will come in another PR)
+ Added tests
2018-08-05 21:10:41 +01:00
alexandre-spieser 345fca2e6e Added summary where needed. 2018-03-06 23:11:33 +00:00
alexandre-spieser 57d332ef2a Add support for ObjectId type for the Id of the document. 2018-03-05 23:07:56 +00:00
alexandre-spieser 6f5eb71dad Prepare for 1.3.5 release. 2018-02-10 18:32:45 +00:00
alexandre-spieser 5270271008 Continues refactoring tests, added overload for UpdateOne and UpdateOneAsync so that we can pass a LINQ query to the method. 2018-02-10 16:38:47 +00:00
alexandre-spieser 1a83abd25f refactoring test classes. 2018-02-05 23:48:11 +00:00
Andrea Bertoldo c117bf2a7f Add CollectionName attribute for allowing explicit naming of collections 2018-02-05 14:48:26 +01:00
alexandre-spieser 3a42a1c574 Upgraded mongodb driver + new package version released. 2018-01-27 15:58:16 +00:00
alexandre-spieser 67e7318021 updating mongodb driver to version 2.5.0 for MongoDB 3.6 support. 2018-01-27 14:49:13 +00:00
alexandre-spieser 29012d1e52 nuget package update 2018-01-27 14:41:39 +00:00
alexandre-spieser e15c1e4ad2 Refactoring to have a greater separation of concern. 2017-12-06 23:20:53 +00:00
alexandre-spieser 3d104764ae added dependencies 2017-11-19 19:05:22 +00:00
alexandre-spieser a3ae98d077 added comments and updated nuspec 2017-11-17 18:39:34 +00:00