Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Version 2 #49

Open
cphillips83 opened this issue Mar 30, 2017 · 0 comments
Open

Version 2 #49

cphillips83 opened this issue Mar 30, 2017 · 0 comments

Comments

@cphillips83
Copy link

cphillips83 commented Mar 30, 2017

https://github.com/MindMatrix/MongoRepository2

Putting this here in case someone may find it useful, the code was taken from sidecut's https://github.com/sidecut/MongoRepository/tree/v2.4.2 as the base rather than here since it seemed to be the most complete.

  • I implemented .NET Core, .NET Standard and .NET 4.5
  • I implemented the async pattern for all interfaces
  • I removed some ObjectId methods since they defeated the purpose of TKey
  • I removed the manager code from the repository tests and added a separate set of tests for this class
  • I created an InMemoryRepository so that my external project doesn't need to hit the MongoDB during unit tests
  • Collection names for the most part are randomized (except for the few tests that require a specific name). This was needed since the tests run across 3 different .NETs.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant