Using C# and Repository Factory and the error: The requested database is not defined in configurati

Posted by odiseh on Stack Overflow See other posts from Stack Overflow or by odiseh
Published on 2010-04-18T09:51:14Z Indexed on 2010/04/18 9:53 UTC
Read the original article Hit count: 578

hi I am using Repository factory for visual studio 2008 for a personal project. It generated a class called ProductRepository which inherits from Repository. The ProductRepository has a constructor which gets a database name as string and passes it to its base (I mean Repository ). So when I try to debug my project step by step, I pass my database name to ProductRepository but it raises the following error:

The requested database is not defined in configuration.

What's wrong?

© Stack Overflow or respective owner

Related posts about c#

Related posts about design-patterns