I am using Repository factory for visual studio 2008 for a personal project.
It generated a class called ProductRepository
which inherits from Repository<Product>
.
The ProductRepository
has a constructor which gets a database name as string and passes it to its base (I mean Repository<Product>
).
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?