This question is locked. New answers and comments are not allowed.
When using the Expert Wizard to add an ObjectContainerProvider, it generates the file, but when I try to build it, I receive the following error...
The type or namespace name 'ObjectContainerProvider' could not be found (are you missing a using directive or an assembly reference?)
Evaluating the file, here is where it is failing...
Can anyone tell me why? Since this is generated code, I find it hard to believe there is a missing "using directive", unless, of course, the wizard has a bug. Removing ObjectContainerProvider from the Class allows it to build without error, but I doubt that's the correct course of action.
Thanks,
Kuba
The type or namespace name 'ObjectContainerProvider' could not be found (are you missing a using directive or an assembly reference?)
Evaluating the file, here is where it is failing...
/// <summary> |
/// Summary description for ObjectContainerProvider1. |
/// </summary> |
public class ObjectContainerProvider1 : IObjectScopeProvider, ObjectContainerProvider, IDBConnection |
{ |
private Database myDatabase = null; |
Can anyone tell me why? Since this is generated code, I find it hard to believe there is a missing "using directive", unless, of course, the wizard has a bug. Removing ObjectContainerProvider from the Class allows it to build without error, but I doubt that's the correct course of action.
Thanks,
Kuba