1 Replies - 473 Views - Last Post: 26 September 2012 - 04:57 PM Rate Topic: -----

#1 complete  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 104
  • Joined: 12-April 07

Is the DbContext class defined and used differently?

Posted 26 September 2012 - 03:18 PM

Is the DbContext class defined and used differently in the version of C# for Visual Studio 2012 than in Visual Studio 2010?

I am using code written under Visual Studio 2010 as an example for a project I am writing for with Visual Studio 2012. I am having some difficulty using the DBContext class to instantiate a class. The code seems to required using the namespace System.Data.Entity.Infrastructure; and that does not seem to be defined in the newer System.Data.Entity reference.

Is This A Good Question/Topic? 0
  • +

Replies To: Is the DbContext class defined and used differently?

#2 e_i_pi  Icon User is offline

  • = -1
  • member icon

Reputation: 795
  • View blog
  • Posts: 1,681
  • Joined: 30-January 09

Re: Is the DbContext class defined and used differently?

Posted 26 September 2012 - 04:57 PM

Moved to C# forum.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1