<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://code.msdn.microsoft.com/rss.xsl"?><rss version="2.0"><channel><title>EFQuerySamples Forum Rss Feed</title><link>http://code.msdn.microsoft.com/EFQuerySamples/Thread/List.aspx</link><description>EFQuerySamples Forum Rss Description</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>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>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>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>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></channel></rss>