SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Is the DbContext class defined and used different?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Xarzu
Starting Member

25 Posts

Posted - 09/26/2012 :  18:11:18  Show Profile  Reply with Quote
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.

tkizer
Almighty SQL Goddess

USA
37143 Posts

Posted - 09/26/2012 :  18:21:30  Show Profile  Visit tkizer's Homepage  Reply with Quote
It doesn't seem like you have a SQL Server question, so I would suggest posting your question on a Visual Studio forum instead.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000