zzz projects Entity Framework Effort EF Effort
Getting Started Knowledge Base Release Notes  Help & Donate
Online Examples
  • Getting Started
  • Knowledge Base
  • Release Notes
  • Help & Donate
  • Online Examples
  •   Download  

Entity Framework Effort - Knowledge Base (KB)

2 results in tag: dbcontext

Testing with Effort and TypeName attribute

I'd like to test some code, and to achieve that, I'd need to fake DbContext defined in DAL (...Entity Framework 6 - Code first...). It's going mostly well, but I bumped into an problem when the data model class is using the ...TypeName... attribute. I mad...
c# dbcontext effort entity-framework unit-testing
asked by Szeki

EntityFramework, DbContextScope and Effort - exception: DbContext has been disposed inside unit test

I am trying to write unit tests (with NUnit) for service layer which uses:...Entity Framework as Data Access Layer...DbContextScope... for managing DbContext lifetime...I also use ...Effort.EF6... for mocking DbContext in unit tests. Unfortunately, I cann...
c# dbcontext effort entity-framework unit-testing
asked by PJDev

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!