<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 Forums - Tech Off - Is the DbContext class defined and used differently in the version of C# for Visual Studio 2012 than in Visual Studio 2010?</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Forums/rss"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 Forums - Tech Off - Is the DbContext class defined and used differently in the version of C# for Visual Studio 2012 than in Visual Studio 2010?</title>
		<link>http://channel9.msdn.com/Forums</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Forums</link>
	<language>en</language>
	<pubDate>Thu, 20 Jun 2013 01:40:51 GMT</pubDate>
	<lastBuildDate>Thu, 20 Jun 2013 01:40:51 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>10</c9:totalResults>
	<c9:pageCount>-10</c9:pageCount>
	<c9:pageSize>-1</c9:pageSize>
	<item>
		<title>Tech Off - Is the DbContext class defined and used differently in the version of C# for Visual Studio 2012 than in Visual Studio 2010?</title>
		<description><![CDATA[<p>Is the DbContext class defined and used differently in the version of C# for Visual Studio 2012 than in Visual Studio 2010?</p><p>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.</p><p>&nbsp;</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-/39d69426984f4b21a4f5a0d801752a1d#39d69426984f4b21a4f5a0d801752a1d</link>
		<pubDate>Wed, 26 Sep 2012 22:38:39 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-/39d69426984f4b21a4f5a0d801752a1d#39d69426984f4b21a4f5a0d801752a1d</guid>
		<dc:creator>complete</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/complete/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Is the DbContext class defined and used differently in the version of C# for Visual Studio 2012 than in Visual Studio 2010?</title>
		<description><![CDATA[<p>Let's try this again...</p><p>Is the DbContext class defined and used differently in the version of C# for Visual Studio 2012 than in Visual Studio 2010?</p><p>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.</p><p>To show you what I mean in coding terms, this is the line of code that does not compile:</p><p>&nbsp;&nbsp;&nbsp; using System.Data.Entity.Infrastructure;</p><p>This is the code snap shot in the Visual Studio 2012 that does not compile:</p><p><img src="http://i.stack.imgur.com/TM5ZA.png" alt=""></p><p>It seems that &quot;Infrastructure&quot; is a component of &quot;systems.data.entry.dll&quot; that I have set as a reference:</p><p><img src="http://i.stack.imgur.com/lFj0J.png " alt=""></p><p>But wait, there is more.&nbsp; The code, as it exists in the visual studio 2012, is copied from code from a project that does, in fact, compile in visual studio 2010.</p><p>Notice, that there is no little red curly line under Infrastructure when I declare that I am using the namespace System.Data.Entity.Infrastructure in Visual Studio 2010:</p><p><img src="http://i.stack.imgur.com/Q4y8P.png" alt=""></p><p>&nbsp;</p><p>The research I have done on this issue has lead to a dead-end.&nbsp; This seems to be some sort of required add-in according to this web page::</p><p><img src="http://i.stack.imgur.com/Ken4D.png" alt="" width="521" height="390"></p><p>You see, the problem seems to be centered around declaring and using the DbContext class.&nbsp; But when I tried running this program from Microsoft after I downloaded it, it showed me that it was not for Visual Studio 2012.</p><p><img src="http://i.stack.imgur.com/Q5DbG.png" alt=""></p><p>&nbsp;</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-/d489b702090e470c847ba0d9008a11db#d489b702090e470c847ba0d9008a11db</link>
		<pubDate>Thu, 27 Sep 2012 08:22:41 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-/d489b702090e470c847ba0d9008a11db#d489b702090e470c847ba0d9008a11db</guid>
		<dc:creator>complete</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/complete/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Is the DbContext class defined and used differently in the version of C# for Visual Studio 2012 than in Visual Studio 2010?</title>
		<description><![CDATA[<p>@<a href="/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-#cd489b702090e470c847ba0d9008a11db">complete</a>: Do you need to install the latest EF via NuGet?</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-/bc637260bb0b483c8b1aa0d900e174ae#bc637260bb0b483c8b1aa0d900e174ae</link>
		<pubDate>Thu, 27 Sep 2012 13:40:51 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-/bc637260bb0b483c8b1aa0d900e174ae#bc637260bb0b483c8b1aa0d900e174ae</guid>
		<dc:creator>Scott</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/spivonious/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Is the DbContext class defined and used differently in the version of C# for Visual Studio 2012 than in Visual Studio 2010?</title>
		<description><![CDATA[<p><a href="http://nuget.org/">http://nuget.org/</a></p><p>&nbsp;</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-/ffca49d1d30a49e68f59a0d901245616#ffca49d1d30a49e68f59a0d901245616</link>
		<pubDate>Thu, 27 Sep 2012 17:44:21 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-/ffca49d1d30a49e68f59a0d901245616#ffca49d1d30a49e68f59a0d901245616</guid>
		<dc:creator>JohnAskew</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/JohnAskew/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Is the DbContext class defined and used differently in the version of C# for Visual Studio 2012 than in Visual Studio 2010?</title>
		<description><![CDATA[<p>What exactly is EF?</p><p>What exactly is&nbsp;NuGet?</p><p>Oh, JohnAskew just&nbsp;gave a link.&nbsp; I will give it a go.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-/12ad82e3fd634d1daf6fa0d90125df2c#12ad82e3fd634d1daf6fa0d90125df2c</link>
		<pubDate>Thu, 27 Sep 2012 17:49:57 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-/12ad82e3fd634d1daf6fa0d90125df2c#12ad82e3fd634d1daf6fa0d90125df2c</guid>
		<dc:creator>complete</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/complete/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Is the DbContext class defined and used differently in the version of C# for Visual Studio 2012 than in Visual Studio 2010?</title>
		<description><![CDATA[<p>nugget ran and said everything is up-to-date, but I still have this issue.&nbsp; Please advise.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-/0ae2f2aaecbb44baaca9a0d9013eca0c#0ae2f2aaecbb44baaca9a0d9013eca0c</link>
		<pubDate>Thu, 27 Sep 2012 19:20:40 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-/0ae2f2aaecbb44baaca9a0d9013eca0c#0ae2f2aaecbb44baaca9a0d9013eca0c</guid>
		<dc:creator>complete</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/complete/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Is the DbContext class defined and used differently in the version of C# for Visual Studio 2012 than in Visual Studio 2010?</title>
		<description><![CDATA[<p><img src="http://i67.photobucket.com/albums/h292/Athono/POCO.png" alt="">I think it has something to do with POCO.&nbsp; Does anyone know about POCO?</p><p>&nbsp;</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-/170a9e0cc0ee4f58a3eda0d901624b54#170a9e0cc0ee4f58a3eda0d901624b54</link>
		<pubDate>Thu, 27 Sep 2012 21:29:56 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-/170a9e0cc0ee4f58a3eda0d901624b54#170a9e0cc0ee4f58a3eda0d901624b54</guid>
		<dc:creator>complete</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/complete/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Is the DbContext class defined and used differently in the version of C# for Visual Studio 2012 than in Visual Studio 2010?</title>
		<description><![CDATA[<p>@<a href="/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-#c170a9e0cc0ee4f58a3eda0d901624b54">complete</a>: Plain Old CLR Objects. These are .NET classes stripped down to bare bones, without inclusion of the Entity Framework (EF) namespaces and overhead. They are one of a few options for what generated code you desire EF to create as proxies for your database entities (tables).</p><p><a href="http://blogs.msdn.com/b/adonet/archive/2009/05/21/poco-in-the-entity-framework-part-1-the-experience.aspx">http://blogs.msdn.com/b/adonet/archive/2009/05/21/poco-in-the-entity-framework-part-1-the-experience.aspx</a></p><p>Sacha Barber is a prolific community member:</p><p><a href="http://www.codeproject.com/Articles/316068/Restful-WCF-EF-POCO-UnitOfWork-Respository-MEF-1-o">http://www.codeproject.com/Articles/316068/Restful-WCF-EF-POCO-UnitOfWork-Respository-MEF-1-o</a></p><p>Use NuGet to look for Entity Framework templates for POCO proxy generation...</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-/e38f11e26b77471cb339a0da00eca2ec#e38f11e26b77471cb339a0da00eca2ec</link>
		<pubDate>Fri, 28 Sep 2012 14:21:34 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-/e38f11e26b77471cb339a0da00eca2ec#e38f11e26b77471cb339a0da00eca2ec</guid>
		<dc:creator>JohnAskew</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/JohnAskew/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Is the DbContext class defined and used differently in the version of C# for Visual Studio 2012 than in Visual Studio 2010?</title>
		<description><![CDATA[<p>I saw a tutorial on some other web site that offers example code.</p><p>It was incomplete but I used my powers of reasoning to figure out what was to fill into the blanks.&nbsp; It had a .edmx file which provided a diagram of the database.&nbsp; Through poking around on what new classes provided a .edmx file, I found a class to use.&nbsp; The rest was easy, I just right clicked on the diagram of the database and followed the steps.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-/4a9ab96ce6bf422fb6b1a0da012df7ec#4a9ab96ce6bf422fb6b1a0da012df7ec</link>
		<pubDate>Fri, 28 Sep 2012 18:19:26 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-/4a9ab96ce6bf422fb6b1a0da012df7ec#4a9ab96ce6bf422fb6b1a0da012df7ec</guid>
		<dc:creator>complete</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/complete/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Is the DbContext class defined and used differently in the version of C# for Visual Studio 2012 than in Visual Studio 2010?</title>
		<description><![CDATA[<p>@<a href="/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-#c4a9ab96ce6bf422fb6b1a0da012df7ec">complete</a>: schweeeet.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-/3d78c1ae85e747f2bb42a0da013b88d1#3d78c1ae85e747f2bb42a0da013b88d1</link>
		<pubDate>Fri, 28 Sep 2012 19:08:49 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/Is-the-DbContext-class-defined-and-used-differently-in-the-version-of-C-for-Visual-Studio-2012-than-/3d78c1ae85e747f2bb42a0da013b88d1#3d78c1ae85e747f2bb42a0da013b88d1</guid>
		<dc:creator>JohnAskew</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/JohnAskew/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>