<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://code.msdn.microsoft.com/rss.xsl"?><rss version="2.0"><channel><title>ADO.NET Entity Framework Query Samples</title><link>http://code.msdn.microsoft.com/EFQuerySamples/Project/ProjectRss.aspx</link><description>ADO.NET Entity Framework Query Samples is a small Windows Forms program which contains several basic Entity SQL and LINQ to Entities queries against that NorthwindEF Entity Data Model &amp;#40;a modified v...</description><item><title>NEW POST: Updated release posted for VS2010 Beta2</title><link>http://code.msdn.microsoft.com/EFQuerySamples/Thread/View.aspx?ThreadId=2605</link><description>&lt;div class="wikidoc"&gt;
The EFQuerySamples for VS2010 Beta2 release includes the following updates&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Added several model defined functions to the conceptual model&lt;/li&gt;&lt;li&gt;Extended the ObjectContext to expose model defined functions in Linq to Entities&lt;/li&gt;&lt;li&gt;Added additional query samples for the following areas:&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;Calling user defined functions in Entity SQL&lt;/li&gt;&lt;li&gt;Using GroupPartition in Entity SQL&lt;/li&gt;&lt;li&gt;OrderBy lifting in Linq to Entities queries&lt;/li&gt;&lt;li&gt;Using Contains (on sequences) in Linq to Entities queries&lt;/li&gt;&lt;li&gt;Calling functions in Linq to Entities queries&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;Replaced the MDF file with a .sql script to create and populate the NorthwindEF database.  This script supports SQL Server 2000, where the MDF only worked on later versions of SQL Server.&lt;/li&gt;&lt;li&gt;Updated the project files for VS 2010 Beta2.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>edett</author><pubDate>Mon, 23 Nov 2009 21:30:06 GMT</pubDate><guid isPermaLink="false">NEW POST: Updated release posted for VS2010 Beta2 20091123P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/EFQuerySamples/Wiki/View.aspx?title=Home&amp;version=9</link><description>&lt;div class="wikidoc"&gt;
ADO.NET Entity Framework Query Samples is a small Windows Forms program which contains several basic Entity SQL and LINQ to Entities queries against that NorthwindEF Entity Data Model &amp;#40;a modified version of Northwind&amp;#41;. &lt;br /&gt;&lt;br /&gt;Its goal is to help you learn the features of the different query languages available in the Entity Framework, and to let you visualize how the results and the translated store queries look like.
&lt;br /&gt; &lt;br /&gt;&lt;h4&gt;
UPDATE: The samples have been updated for VS 2010 Beta2. 
&lt;/h4&gt; &lt;br /&gt;The project supports querying multiple backends. Included are:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;SQL Server 2000 using SqlClient&lt;/li&gt;&lt;li&gt;SQL Server 2005 using SqlClient&lt;/li&gt;&lt;li&gt;SQL Server 2008 using SqlClient&lt;/li&gt;&lt;li&gt;SQL Server Compact 3.5 SP1&lt;/li&gt;&lt;li&gt;EFSampleProvider &lt;a href="http://code.msdn.microsoft.com/EFSampleProvider" class="externalLink"&gt;http://code.msdn.microsoft.com/EFSampleProvider&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;EFOracleProvider &lt;a href="http://code.msdn.microsoft.com/EFOracleProvider" class="externalLink"&gt;http://code.msdn.microsoft.com/EFOracleProvider&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;img src="http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=EFQuerySamples&amp;amp;DownloadId=2785" alt="EFQuerySamples.jpg" /&gt;&lt;br /&gt; &lt;br /&gt;Previous versions of these samples can be found at &lt;a href="http://www.codeplex.com/adonetsamples" class="externalLink"&gt;CodePlex.com&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>edett</author><pubDate>Mon, 23 Nov 2009 21:00:54 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20091123P</guid></item><item><title>CREATED RELEASE: EFQuerySamples for VS2010 Beta2 (Nov 23, 2009)</title><link>http://code.msdn.microsoft.com/EFQuerySamples/Release/ProjectReleases.aspx?ReleaseId=3595</link><description>Entity Framework Query Samples are provided in two languages&amp;#58;&lt;br /&gt;&lt;br /&gt;C&amp;#35; - EFQuerySamples.zip&lt;br /&gt;VB - EFQuerySamplesVB.zip</description><author></author><pubDate>Mon, 23 Nov 2009 20:54:41 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: EFQuerySamples for VS2010 Beta2 (Nov 23, 2009) 20091123P</guid></item><item><title>NEW POST: How to filter data using EDM</title><link>http://code.msdn.microsoft.com/EFQuerySamples/Thread/View.aspx?ThreadId=1863</link><description>&lt;div class="wikidoc"&gt;
I have three tables &lt;br /&gt;1. Department&lt;br /&gt;2. Course&lt;br /&gt;3. Version&lt;br /&gt; &lt;br /&gt;EDM result it into three entities&lt;br /&gt; &lt;br /&gt;                           &lt;br /&gt;1. Departmnet &lt;br /&gt;    Properties(Id, Name)&lt;br /&gt;    Navigations(Courses)&lt;br /&gt; &lt;br /&gt;2. Course&lt;br /&gt;    Properties(Id, Name)&lt;br /&gt;    Navigations(Department, Versions)&lt;br /&gt; &lt;br /&gt;3. Version&lt;br /&gt;    Properties(Id, Name, Number)&lt;br /&gt;    Navigations(Course)&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;One Department may have many courses, one course may have many versions&lt;br /&gt; &lt;br /&gt;I want to get Latest version of each course by Department ID&lt;br /&gt; &lt;br /&gt;My code return me all version of each course by department id&lt;br /&gt; &lt;br /&gt; private void BindGrid(GridView Grid, Guid CategoryID)&lt;br /&gt;        {&lt;br /&gt;            DataEntities data = new DataEntities();&lt;br /&gt;            Category cat = (from c in data.Categorys where c.ID == CategoryID select c).First();&lt;br /&gt;            IList&amp;lt;Definition&amp;gt; defintions = (from d in data.Definitions.Include(&amp;quot;Versions&amp;quot;) where d.Category.ID == cat.ID select d).ToList();&lt;br /&gt;            IList&amp;lt;DynamicForms.Data.Version&amp;gt; versions;&lt;br /&gt;             if (defintions.Count&amp;gt;0)&lt;br /&gt;            {&lt;br /&gt;            versions = defintions.SelectMany(d=&amp;gt;d.Versions).ToList();&lt;br /&gt;           &lt;br /&gt;            Grid.DataSource = versions;&lt;br /&gt;            Grid.DataBind();&lt;br /&gt;            }&lt;br /&gt;         }&lt;br /&gt; &lt;br /&gt;But I want to get latest version (Max Version.Number) of each course. How can i get it please.&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>qasimali84</author><pubDate>Thu, 11 Jun 2009 11:42:20 GMT</pubDate><guid isPermaLink="false">NEW POST: How to filter data using EDM 20090611A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/EFQuerySamples/Wiki/View.aspx?title=Home&amp;version=8</link><description>&lt;div class="wikidoc"&gt;
ADO.NET Entity Framework Query Samples is a small Windows Forms program which contains several basic Entity SQL and LINQ to Entities queries against that NorthwindEF Entity Data Model &amp;#40;a modified version of Northwind&amp;#41;. &lt;br /&gt;&lt;br /&gt;Its goal is to help you learn the features of the different query languages available in the Entity Framework, and to let you visualize how the results and the translated store queries look like.
&lt;br /&gt; &lt;br /&gt;&lt;h4&gt;
UPDATE: Visual Basic version of the sample is now available in the Downloads section.
&lt;/h4&gt; &lt;br /&gt;The project supports querying multiple backends. Included are:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;SQL Server 2000 using SqlClient&lt;/li&gt;&lt;li&gt;SQL Server 2005 using SqlClient&lt;/li&gt;&lt;li&gt;SQL Server 2008 using SqlClient&lt;/li&gt;&lt;li&gt;SQL Server Compact 3.5 SP1&lt;/li&gt;&lt;li&gt;EFSampleProvider &lt;a href="http://code.msdn.microsoft.com/EFSampleProvider" class="externalLink"&gt;http://code.msdn.microsoft.com/EFSampleProvider&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;EFOracleProvider &lt;a href="http://code.msdn.microsoft.com/EFOracleProvider" class="externalLink"&gt;http://code.msdn.microsoft.com/EFOracleProvider&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;img src="http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=EFQuerySamples&amp;amp;DownloadId=2785" alt="EFQuerySamples.jpg" /&gt;&lt;br /&gt; &lt;br /&gt;Previous versions of these samples can be found at &lt;a href="http://www.codeplex.com/adonetsamples" class="externalLink"&gt;CodePlex.com&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>jkowalski</author><pubDate>Thu, 21 May 2009 17:41:15 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20090521P</guid></item><item><title>UPDATED RELEASE: EFQuerySamples for VS2008 SP1 (Aug 11, 2008)</title><link>http://code.msdn.microsoft.com/EFQuerySamples/Release/ProjectReleases.aspx?ReleaseId=1397</link><description>Entity Framework Query Samples are provided in two languages&amp;#58;&lt;br /&gt;&lt;br /&gt;C&amp;#35; - EFQuerySamples.zip&lt;br /&gt;VB - EFQuerySamplesVB.zip</description><author></author><pubDate>Thu, 21 May 2009 17:38:33 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: EFQuerySamples for VS2008 SP1 (Aug 11, 2008) 20090521P</guid></item><item><title>UPDATED RELEASE: EFQuerySamples for VS2008 SP1 (Aug 11, 2008)</title><link>http://code.msdn.microsoft.com/EFQuerySamples/Release/ProjectReleases.aspx?ReleaseId=1397</link><description></description><author></author><pubDate>Thu, 21 May 2009 17:37:24 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: EFQuerySamples for VS2008 SP1 (Aug 11, 2008) 20090521P</guid></item><item><title>NEW POST: SQLite Support for EFQuerySamples</title><link>http://code.msdn.microsoft.com/EFQuerySamples/Thread/View.aspx?ThreadId=680</link><description>&lt;div class="wikidoc"&gt;
The modifications made to the 8/11/2008 release of EFQuerySamples to support the SQLite EF provider can be found here:&lt;br /&gt;&lt;a href="http://sqlite.phxsoftware.com/forums/p/1377/5921.aspx#5921" class="externalLink"&gt;http://sqlite.phxsoftware.com/forums/p/1377/5921.aspx#5921&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;Changes consist of a SQLite northwindEF.db database, a new ssdl file, and the necessary hookups to App.Config.&lt;br /&gt;
&lt;/div&gt;</description><author>rmsimpson</author><pubDate>Fri, 05 Sep 2008 23:11:45 GMT</pubDate><guid isPermaLink="false">NEW POST: SQLite Support for EFQuerySamples 20080905P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/EFQuerySamples/Wiki/View.aspx?title=Home&amp;version=7</link><description>&lt;div class="wikidoc"&gt;
ADO.NET Entity Framework Query Samples is a small Windows Forms program which contains several basic Entity SQL and LINQ to Entities queries against that NorthwindEF Entity Data Model &amp;#40;a modified version of Northwind&amp;#41;. &lt;br /&gt;&lt;br /&gt;Its goal is to help you learn the features of the different query languages available in the Entity Framework, and to let you visualize how the results and the translated store queries look like.
&lt;br /&gt; &lt;br /&gt;The project supports querying multiple backends. Included are:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;SQL Server 2000 using SqlClient&lt;/li&gt;&lt;li&gt;SQL Server 2005 using SqlClient&lt;/li&gt;&lt;li&gt;SQL Server 2008 using SqlClient&lt;/li&gt;&lt;li&gt;SQL Server Compact 3.5 SP1&lt;/li&gt;&lt;li&gt;EFSampleProvider &lt;a href="http://code.msdn.microsoft.com/EFSampleProvider" class="externalLink"&gt;http://code.msdn.microsoft.com/EFSampleProvider&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;EFOracleProvider &lt;a href="http://code.msdn.microsoft.com/EFOracleProvider" class="externalLink"&gt;http://code.msdn.microsoft.com/EFOracleProvider&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;img src="http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=EFQuerySamples&amp;amp;DownloadId=2785" alt="EFQuerySamples.jpg" /&gt;&lt;br /&gt; &lt;br /&gt;Previous versions of these samples can be found at &lt;a href="http://www.codeplex.com/adonetsamples" class="externalLink"&gt;CodePlex.com&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>jkowalski</author><pubDate>Tue, 12 Aug 2008 02:46:48 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080812A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/EFQuerySamples/Wiki/View.aspx?title=Home&amp;version=6</link><description>&lt;div class="wikidoc"&gt;
ADO.NET Entity Framework Query Samples is a small Windows Forms program which contains several basic Entity SQL and LINQ to Entities queries against that NorthwindEF Entity Data Model &amp;#40;a modified version of Northwind&amp;#41;. &lt;br /&gt;&lt;br /&gt;Its goal is to help you learn the features of the different query languages available in the Entity Framework, and to let you visualize how the results and the translated store queries look like.
&lt;br /&gt; &lt;br /&gt;&lt;img src="http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=EFQuerySamples&amp;amp;DownloadId=2785" alt="EFQuerySamples.jpg" /&gt;&lt;br /&gt; &lt;br /&gt;Previous versions of these samples can be found at &lt;a href="http://www.codeplex.com/adonetsamples" class="externalLink"&gt;CodePlex.com&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>jkowalski</author><pubDate>Tue, 12 Aug 2008 02:45:25 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080812A</guid></item><item><title>CREATED RELEASE: EFQuerySamples for VS2008 SP1 (Aug 11, 2008)</title><link>http://code.msdn.microsoft.com/EFQuerySamples/Release/ProjectReleases.aspx?ReleaseId=1397</link><description></description><author></author><pubDate>Mon, 11 Aug 2008 21:25:35 GMT</pubDate><guid isPermaLink="false">CREATED RELEASE: EFQuerySamples for VS2008 SP1 (Aug 11, 2008) 20080811P</guid></item><item><title>NEW POST: View the model in visual designer</title><link>http://code.msdn.microsoft.com/EFQuerySamples/Thread/View.aspx?ThreadId=358</link><description>&lt;div class="wikidoc"&gt;
&lt;div class="quote"&gt;
 &lt;br /&gt;miksh wrote:&lt;br /&gt;Great samples, thanks. I wonder, how to view the NW entity model in the VS Entity visual designer?&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt; &lt;br /&gt;Thanks for your question. &lt;br /&gt; &lt;br /&gt;The model the current version of the samples uses includes some advanced features that are available in the Entity Framework runtime, but not in the EDM Designer. That is the reason we don't include an EDMX file that you can open and visualize with the designer tools. &lt;br /&gt; &lt;br /&gt;We are looking into how much we need to simplify the model in order to keep almost the same samples queries. &lt;br /&gt; &lt;br /&gt;-Diego&lt;br /&gt;
&lt;/div&gt;</description><author>divega</author><pubDate>Sun, 18 May 2008 09:05:28 GMT</pubDate><guid isPermaLink="false">NEW POST: View the model in visual designer 20080518A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/EFQuerySamples/Wiki/View.aspx?title=Home&amp;version=5</link><description>&lt;div class="wikidoc"&gt;
ADO.NET Entity Framework Query Samples is a small Windows Forms program which contains several basic Entity SQL and LINQ to Entities queries against that NorthwindEF Entity Data Model &amp;#40;a modified version of Northwind&amp;#41;. &lt;br /&gt;&lt;br /&gt;Its goal is to help you learn the features of the different query languages available in the Entity Framework, and to let you visualize how the results and the translated store queries look like.
&lt;br /&gt; &lt;br /&gt;Previous versions of these samples can be found at &lt;a href="http://www.codeplex.com/adonetsamples" class="externalLink"&gt;CodePlex.com&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>divega</author><pubDate>Sun, 18 May 2008 08:56:32 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080518A</guid></item><item><title>NEW POST: View the model in visual designer</title><link>http://code.msdn.microsoft.com/EFQuerySamples/Thread/View.aspx?ThreadId=358</link><description>&lt;div class="wikidoc"&gt;
Great samples, thanks. I wonder, how to view the NW entity model in the VS Entity visual designer?&lt;br /&gt;
&lt;/div&gt;</description><author>miksh</author><pubDate>Fri, 16 May 2008 20:39:42 GMT</pubDate><guid isPermaLink="false">NEW POST: View the model in visual designer 20080516P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/EFQuerySamples/Wiki/View.aspx?title=Home&amp;version=4</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Resource Page Description&lt;/b&gt;&lt;br /&gt;ADO.NET Entity Framework Query Samples is a small Windows Forms program that contains several basic Entity SQL and LINQ to Entities queries against that NorthwindEF Entity Data Model &amp;#40;based on a modified version of Northwind&amp;#41;. &lt;br /&gt;&lt;br /&gt;Its goal is to help you learn the features of the different query languages, visualize how results look like, and also give you some understanding of how the translated store queries look like.&lt;br /&gt;
&lt;br /&gt; &lt;br /&gt;Previous versions of these samples can be found at &lt;a href="http://www.codeplex.com/adonetsamples" class="externalLink"&gt;CodePlex.com&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>divega</author><pubDate>Wed, 14 May 2008 04:12:11 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080514A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/EFQuerySamples/Wiki/View.aspx?title=Home&amp;version=3</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Resource Page Description&lt;/b&gt;&lt;br /&gt;ADO.NET Entity Framework Query Samples is a small Windows Forms program that contains several basic Entity SQL and LINQ to Entities queries against that NorthwindEF Entity Data Model &amp;#40;based on a modified version of Northwind&amp;#41;. &lt;br /&gt;&lt;br /&gt;Its goal is to help you learn the features of the different query languages, visualize how results look like, and also give you some understanding of how the translated store queries look like.&lt;br /&gt;
&lt;br /&gt; &lt;br /&gt;Previous versions of these samples can be found in &lt;a href="http://www.codeplex.com/adonetsamples" class="externalLink"&gt;ADO.NET Samples at CodePlex.com&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>divega</author><pubDate>Wed, 14 May 2008 04:11:47 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080514A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/EFQuerySamples/Wiki/View.aspx?title=Home&amp;version=2</link><description>&lt;div class="wikidoc"&gt;
&lt;b&gt;Resource Page Description&lt;/b&gt;&lt;br /&gt;ADO.NET Entity Framework Query Samples is a small Windows Forms program that contains several basic Entity SQL and LINQ to Entities queries against that NorthwindEF Entity Data Model &amp;#40;based on a modified version of Northwind&amp;#41;. Its goal is to help you learn the features of the different query languages, visualize how results look like and also give you understanding on how the translated store queries look like.
&lt;br /&gt;
&lt;/div&gt;</description><author>divega</author><pubDate>Wed, 14 May 2008 03:51:32 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080514A</guid></item></channel></rss>