Chris Campbell

Chris Campbell

  • NA
  • 4
  • 7.9k

Entity Framework - AppDomain.CurrentDomain.GetData returns null

Aug 16 2012 11:15 PM
Hello,

I am working on a project that involves EntityFramework 4.1 and I've run into a serious snag. I did not design the project, I am merely trying to fix existing issues.

The application is making a call to AppDomain.CurrentDomain.GetData("SomeValue").ToString();
There are two things I do not understand and cannot seem to find the answer to or figure out.
1.) Where is "SomeValue" coming from?
2.) Why is this call returning null?

The only thing that comes to mind is that it is looking for the value and cannot find it, but I would think there was some default that would be thrown, not null. I cannot seem to figure out where that value is being set or how it is being compared, from what I understand is that it is looking for a specific name but I cannot see where that name is actually being set anywhere in the application.

Answers (1)