danemorgridge/efrepo — Issue #2: Error with template
Author: Wjmbond
Created: 2011-10-22 07:02:09+00:00
State: open

Hello,

I'm using your template for dbcontext (EF 4.1), and I'm getting the following error:

Object reference not set to an instance of an object

at the line :

_objectset = UnitOfWork.Context.Set();

of EFRepository.cs

Any idea why this is happening ?

Thank you in advance