Commit Graph

111 Commits

Author SHA1 Message Date
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
alexandre-spieser 657beeac99 The MongoDbRepository now has a constructor that takes an IMongoDatabase. 2017-11-01 08:18:29 +00:00
alexandre-spieser fbb07475a1 Added tests for IdentityUsers 2017-10-29 19:29:43 +00:00
alexandre-spieser 9c0cd0fe47 dll added. 2017-10-01 22:35:51 +00:00
alexandre-spieser c07b1a5d7b Added grouping functionality and tests. 2017-10-01 22:30:30 +00:00
alexandre-spieser 76862b2caa new nuget package 2017-09-25 22:40:00 +00:00
alexandre-spieser 1d985e0274 Added tests 2017-09-24 21:34:29 +00:00
alexandre-spieser 6552a01d28 TKey support, continued 2017-09-23 22:32:44 +00:00
alexandre-spieser 9b1048e318 Adding TKey support 2017-09-23 22:00:31 +00:00
alexandre-spieser 5e187e0b1f Exposed core MongoDb driver objects and removed the AddedAtUtc property constraint from the IDocument interface. 2017-09-23 18:57:56 +00:00
alexandre-spieser 58cf1f1faf Generated nuget package 1.2 and tests passing. 2017-09-09 19:13:32 +00:00
alexandre-spieser fb4ee42a5c now targeting multiple frameworks (net45 and netstandard1.5) 2017-09-09 16:52:10 +00:00
alexandre-spieser bbadd78d1b pushing version up 2017-09-03 21:32:25 +00:00
alexandre-spieser b94b499c10 added pluralizationclass from Humanizer, and set collections names to camel case instead of lower case for better readability. 2017-09-03 19:00:02 +00:00