IFakeDbContext is mostly IDataContextAsync

Jul 8, 2014 at 4:20 PM
Hi Le,

Another really short one. It's not an "issue" so I've made it a discussion instead.

  • is mostly IDataContextAsync.
  • declares Dispose instead of inheriting IDisposable (fixing the first one fixes this)
Would it be better to do this: GenericUnitOfWorkABContrib dev-1229: 224eefd0

Jul 8, 2014 at 9:08 PM
Edited Jul 8, 2014 at 9:11 PM
Should have caught this, had tunnel vision on implementing mocks and fakes without using a mocking framework e.g. Moq, JustMock. They are great frameworks, again, unravel mocking a DbContext :p

Commited please see: https://genericunitofworkandrepositories.codeplex.com/SourceControl/changeset/a15a5fae3ca021120fa3672fb5e4b7e5bb52f230

Again, thanks for you this and all your other contributions, thoughts on joining the official team? We could definitely use some help (https://genericunitofworkandrepositories.codeplex.com/SourceControl/list/changesets).
Marked as answer by lelong37 on 7/8/2014 at 1:08 PM