This question is locked. New answers and comments are not allowed.
Hello,
In my ScopeProvider class when I call the GetNewObjectScope() method the Database object it uses is sometimes null and I get a null reference exception.
Thanks for the help,
Brendan
In my ScopeProvider class when I call the GetNewObjectScope() method the Database object it uses is sometimes null and I get a null reference exception.
static public IObjectScope GetNewObjectScope() |
{ |
Database db = Database(); |
IObjectScope newScope = db.GetObjectScope(); // Null Reference here |
return newScope; |
} |
Thanks for the help,
Brendan