<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>LINQtoCRM</title><link>http://linqtocrm.codeplex.com/project/feeds/rss</link><description>A custom LINQ queryprovider for Microsoft Dynamics CRM</description><item><title>Closed Issue: "Or And Or" query generates wrong fetchxml [10089]</title><link>http://linqtocrm.codeplex.com/workitem/10089</link><description>Query&amp;#58;&lt;br /&gt;var contacts &amp;#61; from c in provider.Linq&amp;#60;contact&amp;#62;&amp;#40;&amp;#41;&lt;br /&gt;                        where &amp;#40;c.firstname &amp;#61;&amp;#61; &amp;#34;test&amp;#34; &amp;#124;&amp;#124; c.firstname &amp;#61;&amp;#61; &amp;#34;test2&amp;#34;&amp;#41; &amp;#38;&amp;#38;&lt;br /&gt;                              &amp;#40;c.accountrolecode.Value &amp;#61;&amp;#61; 1 &amp;#124;&amp;#124; c.accountrolecode.Value &amp;#61;&amp;#61; 2&amp;#41;&lt;br /&gt;                        select c&amp;#59;&lt;br /&gt;&amp;#160;&lt;br /&gt;Generated fetchxml&lt;br /&gt;&amp;#160;&lt;br /&gt; &amp;#60;fetch mapping&amp;#61;&amp;#34;&amp;#34;logical&amp;#34;&amp;#34;&amp;#62;&lt;br /&gt;                  &amp;#60;entity name&amp;#61;&amp;#34;&amp;#34;contact&amp;#34;&amp;#34;&amp;#62;&lt;br /&gt;                    &amp;#60;all-attributes &amp;#47;&amp;#62;&lt;br /&gt;                            &amp;#60;filter type&amp;#61;&amp;#34;&amp;#34;or&amp;#34;&amp;#34;&amp;#62;&lt;br /&gt;                                &amp;#60;condition attribute&amp;#61;&amp;#34;&amp;#34;firstname&amp;#34;&amp;#34; operator&amp;#61;&amp;#34;&amp;#34;eq&amp;#34;&amp;#34; value&amp;#61;&amp;#34;&amp;#34;test&amp;#34;&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;                                &amp;#60;condition attribute&amp;#61;&amp;#34;&amp;#34;firstname&amp;#34;&amp;#34; operator&amp;#61;&amp;#34;&amp;#34;eq&amp;#34;&amp;#34; value&amp;#61;&amp;#34;&amp;#34;test2&amp;#34;&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;                                &amp;#60;condition attribute&amp;#61;&amp;#34;&amp;#34;accountrolecode&amp;#34;&amp;#34; operator&amp;#61;&amp;#34;&amp;#34;eq&amp;#34;&amp;#34; value&amp;#61;&amp;#34;&amp;#34;1&amp;#34;&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;                                &amp;#60;condition attribute&amp;#61;&amp;#34;&amp;#34;accountrolecode&amp;#34;&amp;#34; operator&amp;#61;&amp;#34;&amp;#34;eq&amp;#34;&amp;#34; value&amp;#61;&amp;#34;&amp;#34;2&amp;#34;&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;                            &amp;#60;&amp;#47;filter&amp;#62;&lt;br /&gt;                  &amp;#60;&amp;#47;entity&amp;#62;&lt;br /&gt;                &amp;#60;&amp;#47;fetch&amp;#62;&lt;br /&gt;&amp;#160;&lt;br /&gt;Expected fetchxml&lt;br /&gt;&amp;#160;&lt;br /&gt; &amp;#60;fetch mapping&amp;#61;&amp;#34;&amp;#34;logical&amp;#34;&amp;#34;&amp;#62;&lt;br /&gt;                  &amp;#60;entity name&amp;#61;&amp;#34;&amp;#34;contact&amp;#34;&amp;#34;&amp;#62;&lt;br /&gt;                    &amp;#60;all-attributes &amp;#47;&amp;#62;&lt;br /&gt;                        &amp;#60;filter&amp;#62;&lt;br /&gt;                            &amp;#60;filter type&amp;#61;&amp;#34;&amp;#34;or&amp;#34;&amp;#34;&amp;#62;&lt;br /&gt;                                &amp;#60;condition attribute&amp;#61;&amp;#34;&amp;#34;firstname&amp;#34;&amp;#34; operator&amp;#61;&amp;#34;&amp;#34;eq&amp;#34;&amp;#34; value&amp;#61;&amp;#34;&amp;#34;test&amp;#34;&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;                                &amp;#60;condition attribute&amp;#61;&amp;#34;&amp;#34;firstname&amp;#34;&amp;#34; operator&amp;#61;&amp;#34;&amp;#34;eq&amp;#34;&amp;#34; value&amp;#61;&amp;#34;&amp;#34;test2&amp;#34;&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;                            &amp;#60;&amp;#47;filter&amp;#62;&lt;br /&gt;                            &amp;#60;filter type&amp;#61;&amp;#34;&amp;#34;or&amp;#34;&amp;#34;&amp;#62;&lt;br /&gt;                                &amp;#60;condition attribute&amp;#61;&amp;#34;&amp;#34;accountrolecode&amp;#34;&amp;#34; operator&amp;#61;&amp;#34;&amp;#34;eq&amp;#34;&amp;#34; value&amp;#61;&amp;#34;&amp;#34;1&amp;#34;&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;                                &amp;#60;condition attribute&amp;#61;&amp;#34;&amp;#34;accountrolecode&amp;#34;&amp;#34; operator&amp;#61;&amp;#34;&amp;#34;eq&amp;#34;&amp;#34; value&amp;#61;&amp;#34;&amp;#34;2&amp;#34;&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;                            &amp;#60;&amp;#47;filter&amp;#62;&lt;br /&gt;                    &amp;#60;&amp;#47;filter&amp;#62;&lt;br /&gt;                  &amp;#60;&amp;#47;entity&amp;#62;&lt;br /&gt;                &amp;#60;&amp;#47;fetch&amp;#62;&lt;br /&gt;</description><author>melg</author><pubDate>Thu, 16 May 2013 05:53:03 GMT</pubDate><guid isPermaLink="false">Closed Issue: "Or And Or" query generates wrong fetchxml [10089] 20130516055303A</guid></item><item><title>Closed Issue: Some combinations of .Where result in wrong fetchxml [10090]</title><link>http://linqtocrm.codeplex.com/workitem/10090</link><description>TestCase&amp;#58;&lt;br /&gt;Expression&amp;#60;Func&amp;#60;contact, bool&amp;#62;&amp;#62; expression &amp;#61; c &amp;#61;&amp;#62; &amp;#40;c.firstname &amp;#61;&amp;#61; &amp;#34;test&amp;#34; &amp;#124;&amp;#124; c.firstname &amp;#61;&amp;#61; &amp;#34;test2&amp;#34;&amp;#41; &amp;#38;&amp;#38;&lt;br /&gt;                                                              &amp;#40;c.accountrolecode.Value &amp;#61;&amp;#61; 1 &amp;#124;&amp;#124;&lt;br /&gt;                                                               c.accountrolecode.Value &amp;#61;&amp;#61; 2&amp;#41;&amp;#59;&lt;br /&gt;            var actual &amp;#61; provider.Linq&amp;#60;contact&amp;#62;&amp;#40;&amp;#41;.Where&amp;#40;c &amp;#61;&amp;#62; c.statecode.Value &amp;#61;&amp;#61; ContactState.Active&amp;#41;&amp;#59;&lt;br /&gt;            actual &amp;#61; actual.Where&amp;#40;expression&amp;#41;&amp;#59;&lt;br /&gt;            var foobar &amp;#61; actual.&lt;br /&gt;                Where&amp;#40;c &amp;#61;&amp;#62; c.contactid.Value &amp;#61;&amp;#61; Guid.Empty&amp;#41;&amp;#59;&lt;br /&gt;&amp;#160;&lt;br /&gt;Expected&lt;br /&gt;&amp;#160;&lt;br /&gt; &amp;#60;fetch mapping&amp;#61;&amp;#34;&amp;#34;logical&amp;#34;&amp;#34;&amp;#62;&lt;br /&gt;                  &amp;#60;entity name&amp;#61;&amp;#34;&amp;#34;contact&amp;#34;&amp;#34;&amp;#62;&lt;br /&gt;                    &amp;#60;all-attributes &amp;#47;&amp;#62;&lt;br /&gt;                        &amp;#60;filter&amp;#62;&lt;br /&gt;                            &amp;#60;condition attribute&amp;#61;&amp;#34;&amp;#34;statecode&amp;#34;&amp;#34; operator&amp;#61;&amp;#34;&amp;#34;eq&amp;#34;&amp;#34; value&amp;#61;&amp;#34;&amp;#34;0&amp;#34;&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;                            &amp;#60;condition attribute&amp;#61;&amp;#34;&amp;#34;contactid&amp;#34;&amp;#34; operator&amp;#61;&amp;#34;&amp;#34;eq&amp;#34;&amp;#34; value&amp;#61;&amp;#34;&amp;#34;00000000-0000-0000-0000-000000000000&amp;#34;&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;                            &amp;#60;filter type&amp;#61;&amp;#34;&amp;#34;or&amp;#34;&amp;#34;&amp;#62;&lt;br /&gt;                                &amp;#60;condition attribute&amp;#61;&amp;#34;&amp;#34;firstname&amp;#34;&amp;#34; operator&amp;#61;&amp;#34;&amp;#34;eq&amp;#34;&amp;#34; value&amp;#61;&amp;#34;&amp;#34;test&amp;#34;&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;                                &amp;#60;condition attribute&amp;#61;&amp;#34;&amp;#34;firstname&amp;#34;&amp;#34; operator&amp;#61;&amp;#34;&amp;#34;eq&amp;#34;&amp;#34; value&amp;#61;&amp;#34;&amp;#34;test2&amp;#34;&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;                            &amp;#60;&amp;#47;filter&amp;#62;&lt;br /&gt;                            &amp;#60;filter type&amp;#61;&amp;#34;&amp;#34;or&amp;#34;&amp;#34;&amp;#62;&lt;br /&gt;                                &amp;#60;condition attribute&amp;#61;&amp;#34;&amp;#34;accountrolecode&amp;#34;&amp;#34; operator&amp;#61;&amp;#34;&amp;#34;eq&amp;#34;&amp;#34; value&amp;#61;&amp;#34;&amp;#34;1&amp;#34;&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;                                &amp;#60;condition attribute&amp;#61;&amp;#34;&amp;#34;accountrolecode&amp;#34;&amp;#34; operator&amp;#61;&amp;#34;&amp;#34;eq&amp;#34;&amp;#34; value&amp;#61;&amp;#34;&amp;#34;2&amp;#34;&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;                            &amp;#60;&amp;#47;filter&amp;#62;                        &lt;br /&gt;                    &amp;#60;&amp;#47;filter&amp;#62;&lt;br /&gt;                    &amp;#60;&amp;#47;entity&amp;#62;&lt;br /&gt;                &amp;#60;&amp;#47;fetch&amp;#62;&lt;br /&gt;&amp;#160;&lt;br /&gt;Actual&lt;br /&gt;&amp;#160;&lt;br /&gt;&amp;#60;fetch mapping&amp;#61;&amp;#34;logical&amp;#34;&amp;#62;&lt;br /&gt;  &amp;#60;entity name&amp;#61;&amp;#34;contact&amp;#34;&amp;#62;&lt;br /&gt;    &amp;#60;all-attributes &amp;#47;&amp;#62;&lt;br /&gt;    &amp;#60;filter&amp;#62;&lt;br /&gt;      &amp;#60;condition attribute&amp;#61;&amp;#34;statecode&amp;#34; operator&amp;#61;&amp;#34;eq&amp;#34; value&amp;#61;&amp;#34;0&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;      &amp;#60;condition attribute&amp;#61;&amp;#34;contactid&amp;#34; operator&amp;#61;&amp;#34;eq&amp;#34; value&amp;#61;&amp;#34;00000000-0000-0000-0000-000000000000&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;    &amp;#60;&amp;#47;filter&amp;#62;&lt;br /&gt;  &amp;#60;&amp;#47;entity&amp;#62;&lt;br /&gt;&amp;#60;&amp;#47;fetch&amp;#62;&lt;br /&gt;</description><author>melg</author><pubDate>Thu, 16 May 2013 05:53:02 GMT</pubDate><guid isPermaLink="false">Closed Issue: Some combinations of .Where result in wrong fetchxml [10090] 20130516055302A</guid></item><item><title>Source code checked in, #96133</title><link>http://linqtocrm.codeplex.com/SourceControl/changeset/changes/96133</link><description>Upgrade&amp;#58; New Version of LabDefaultTemplate.xaml. To upgrade your build definitions, please visit the following link&amp;#58; http&amp;#58;&amp;#47;&amp;#47;go.microsoft.com&amp;#47;fwlink&amp;#47;&amp;#63;LinkId&amp;#61;254563</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 21:40:31 GMT</pubDate><guid isPermaLink="false">Source code checked in, #96133 20121001094031P</guid></item><item><title>Source code checked in, #96132</title><link>http://linqtocrm.codeplex.com/SourceControl/changeset/changes/96132</link><description>Checked in by server upgrade</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 21:33:03 GMT</pubDate><guid isPermaLink="false">Source code checked in, #96132 20121001093303P</guid></item><item><title>New Post: join in LinqToCRM not working</title><link>http://linqtocrm.codeplex.com/discussions/274902</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I get the error :&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Error&amp;nbsp;1&amp;nbsp;The type of one of the expressions in the join clause is incorrect.&amp;nbsp; Type inference failed in the call to 'Join'.&amp;nbsp;C:\Users\Administrator\Desktop\DEV_VM\TestChap2\ConsoleApplication1\Program.cs&amp;nbsp;127&amp;nbsp;26&amp;nbsp;ConsoleApplication1&lt;/p&gt;
&lt;p&gt;But my code is this one:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;var&lt;/span&gt; queryx = &lt;span style="color:blue"&gt;from&lt;/span&gt; c &lt;span style="color:blue"&gt;in&lt;/span&gt; orgContext.ContactSet
                         &lt;span style="color:blue"&gt;join&lt;/span&gt; a &lt;span style="color:blue"&gt;in&lt;/span&gt; orgContext.AccountSet
                         &lt;span style="color:blue"&gt;on&lt;/span&gt; c.ContactId &lt;span style="color:blue"&gt;equals&lt;/span&gt; a.PrimaryContactId
                         &lt;span style="color:blue"&gt;select&lt;/span&gt; &lt;span style="color:blue"&gt;new&lt;/span&gt; { contact_name = c.FullName, account_name = a.Name };
            &lt;span style="color:blue"&gt;foreach&lt;/span&gt; (&lt;span style="color:blue"&gt;var&lt;/span&gt; c &lt;span style="color:blue"&gt;in&lt;/span&gt; queryx)
            {
                Console.WriteLine(c.account_name &amp;#43; c.contact_name);
            }
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Anyone would have an idea ?&lt;/p&gt;
&lt;/div&gt;</description><author>Bernybon</author><pubDate>Wed, 05 Oct 2011 19:45:45 GMT</pubDate><guid isPermaLink="false">New Post: join in LinqToCRM not working 20111005074545P</guid></item><item><title>Created Issue: ispriceoverriden attribute not available on invoice/opportunity products [11943]</title><link>http://linqtocrm.codeplex.com/workitem/11943</link><description>Cannot set this attribute&lt;br /&gt;</description><author>tommc</author><pubDate>Thu, 16 Sep 2010 10:13:52 GMT</pubDate><guid isPermaLink="false">Created Issue: ispriceoverriden attribute not available on invoice/opportunity products [11943] 20100916101352A</guid></item><item><title>New Post: Problems in Many to Many</title><link>http://linqtocrm.codeplex.com/Thread/View.aspx?ThreadId=223615</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I always get this error MSG &amp;quot;&lt;em&gt;Server was unable to process request&amp;quot; whenever i try to make a query against the generated ManyToMany class. My Query is simple as it can be, it looks like &lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;from b in CrmQueryProvider.Linq&amp;lt;Bridge&amp;gt;()&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select b;&lt;/p&gt;
&lt;p&gt;Where Bridge is the name of the generated class in the ManyToMany.cs&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;More information:&lt;/p&gt;
&lt;p&gt;The problem comes from the Fetch method in CrmWebService.cs class.&lt;/p&gt;
&lt;p&gt;Any suggestions ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks so much&lt;/p&gt;&lt;/div&gt;</description><author>Gamalof</author><pubDate>Sun, 15 Aug 2010 08:37:21 GMT</pubDate><guid isPermaLink="false">New Post: Problems in Many to Many 20100815083721A</guid></item><item><title>New Post: Any idea when Linq to CRM will come out of beta?</title><link>http://linqtocrm.codeplex.com/Thread/View.aspx?ThreadId=221301</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;From the guys at Xrm Linq:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.xrmlinq.com/crm-sdk-4-0-12-bugs-limitations"&gt;http://www.xrmlinq.com/crm-sdk-4-0-12-bugs-limitations&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><author>MaartenUreel</author><pubDate>Fri, 30 Jul 2010 07:03:45 GMT</pubDate><guid isPermaLink="false">New Post: Any idea when Linq to CRM will come out of beta? 20100730070345A</guid></item><item><title>New Post: Any idea when Linq to CRM will come out of beta?</title><link>http://linqtocrm.codeplex.com/Thread/View.aspx?ThreadId=221301</link><description>&lt;div style="line-height: normal;"&gt;That's interesting, Martin. I did not realise that filtering is done client-side with the MS SDK Linq provider. Also, according to this page:http://msdn.microsoft.com/en-us/library/ff681573(v=MSDN.10).aspx the provider supports joins. You mention that it doesn't support linked entities, can you be more specific?&lt;/div&gt;</description><author>friism</author><pubDate>Thu, 29 Jul 2010 19:38:07 GMT</pubDate><guid isPermaLink="false">New Post: Any idea when Linq to CRM will come out of beta? 20100729073807P</guid></item><item><title>New Post: Any idea when Linq to CRM will come out of beta?</title><link>http://linqtocrm.codeplex.com/Thread/View.aspx?ThreadId=221301</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Why are you killing the project? Because of the cheap LINQ provider in the SDK? The one that cannot be used in plugins? The one that fetches a shitload of records to the client to check conditions there? The one that isn't able to use FetchXML to work with Linked Entity's? The one of which the caching mechanism sucks?&lt;/p&gt;
&lt;p&gt;I suggest you continue this project ;-)&lt;/p&gt;&lt;/div&gt;</description><author>MaartenUreel</author><pubDate>Thu, 29 Jul 2010 15:08:07 GMT</pubDate><guid isPermaLink="false">New Post: Any idea when Linq to CRM will come out of beta? 20100729030807P</guid></item><item><title>Source code checked in, #63489</title><link>http://linqtocrm.codeplex.com/SourceControl/changeset/changes/63489</link><description>Checked in by server upgrade</description><author>_TFSSERVICE</author><pubDate>Tue, 27 Jul 2010 20:28:19 GMT</pubDate><guid isPermaLink="false">Source code checked in, #63489 20100727082819P</guid></item><item><title>New Post: Any idea when Linq to CRM will come out of beta?</title><link>http://linqtocrm.codeplex.com/Thread/View.aspx?ThreadId=221301</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Wow, sorry to hear you are killing the project. On the other hand though it is great that Microsoft supports Linq now. Thanks for the info.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Pete&lt;/p&gt;&lt;/div&gt;</description><author>digioz</author><pubDate>Sun, 25 Jul 2010 14:58:17 GMT</pubDate><guid isPermaLink="false">New Post: Any idea when Linq to CRM will come out of beta? 20100725025817P</guid></item><item><title>New Post: Any idea when Linq to CRM will come out of beta?</title><link>http://linqtocrm.codeplex.com/Thread/View.aspx?ThreadId=221301</link><description>&lt;div style="line-height: normal;"&gt;Hi Pete, Microsoft has released a linq query provider with the CRM SDK. I recommend you check that out: http://friism.com/linqtocrm-obsoleted&lt;/div&gt;</description><author>friism</author><pubDate>Sun, 25 Jul 2010 11:11:26 GMT</pubDate><guid isPermaLink="false">New Post: Any idea when Linq to CRM will come out of beta? 20100725111126A</guid></item><item><title>New Post: Any idea when Linq to CRM will come out of beta?</title><link>http://linqtocrm.codeplex.com/Thread/View.aspx?ThreadId=221301</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Does anyone know when Linq to CRM is scheduled to be released and come out of beta?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Pete&lt;/p&gt;&lt;/div&gt;</description><author>digioz</author><pubDate>Sat, 24 Jul 2010 22:48:37 GMT</pubDate><guid isPermaLink="false">New Post: Any idea when Linq to CRM will come out of beta? 20100724104837P</guid></item><item><title>New Post: CRM SDK 4.0.0012 now includes a Linq-to-CRM query provider</title><link>http://linqtocrm.codeplex.com/Thread/View.aspx?ThreadId=213538</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Selecting out of joined entities come to mind at least.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>praty</author><pubDate>Thu, 03 Jun 2010 10:02:48 GMT</pubDate><guid isPermaLink="false">New Post: CRM SDK 4.0.0012 now includes a Linq-to-CRM query provider 20100603100248A</guid></item><item><title>New Post: CRM SDK 4.0.0012 now includes a Linq-to-CRM query provider</title><link>http://linqtocrm.codeplex.com/Thread/View.aspx?ThreadId=213538</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;@praty It's a valid point, but I think the FetchXML stuff that can't be mapped to&amp;nbsp;QueryExpression is pretty marginal (&amp;quot;Average&amp;quot; anyone?). Do you have example of FetchXML features you need that aren't doable with&amp;nbsp;QueryExpression?&lt;/p&gt;&lt;/div&gt;</description><author>friism</author><pubDate>Tue, 25 May 2010 09:32:48 GMT</pubDate><guid isPermaLink="false">New Post: CRM SDK 4.0.0012 now includes a Linq-to-CRM query provider 20100525093248A</guid></item><item><title>New Post: CRM SDK 4.0.0012 now includes a Linq-to-CRM query provider</title><link>http://linqtocrm.codeplex.com/Thread/View.aspx?ThreadId=213538</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;http://blogs.msdn.com/b/crm/archive/2010/05/13/microsoft-dynamics-crm-sdk-4-0-12-and-the-advanced-developer-extensions.aspx&lt;/p&gt;
&lt;p&gt;&amp;quot;It should be emphasised that the LINQ query ultimately maps down to a  QueryExpression, and hence you are as limited in the scope of queries as  you currently are.&amp;quot;&lt;/p&gt;
&lt;p&gt;As QueryExpressions don't support everything that FetchXML does the MS code (haven't tried) could be more limited in features.&lt;/p&gt;&lt;/div&gt;</description><author>praty</author><pubDate>Mon, 24 May 2010 20:31:36 GMT</pubDate><guid isPermaLink="false">New Post: CRM SDK 4.0.0012 now includes a Linq-to-CRM query provider 20100524083136P</guid></item><item><title>Updated Wiki: Home</title><link>http://linqtocrm.codeplex.com/wikipage?version=77</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;UPDATE&lt;/b&gt; &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=82e632a7-faf9-41e0-8ec1-a2662aae9dfb&amp;amp;displaylang=en" class="externalLink"&gt;Version 4.0.12 of the Microsoft CRM SDK&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; includes a &lt;a href="http://msdn.microsoft.com/en-us/library/ff681573(v=MSDN.10).aspx" class="externalLink"&gt;Linq query provider for CRM&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. I (friism) haven&amp;#39;t tested it, but you should probably give it a try before going with LINQtoCRM. Read the &lt;a href="http://friism.com/linqtocrm-obsoleted" class="externalLink"&gt;short announcement&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;h2&gt;Introduction&lt;/h2&gt;The Linq to CRM project provides a custom query provider for &lt;a href="http://www.microsoft.com/dynamics/crm/" class="externalLink"&gt;Microsoft Dynamics CRM/xRM&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; (mscrm).&lt;br /&gt;&lt;br /&gt;Found a query you think should work, but LinqtoCRM breaks or returns the wrong data? Please create a work-item or send it to me at friism+linqtocrm@gmail.com.&lt;br /&gt;
&lt;h2&gt;Features&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;Where-clauses of some complexity (And/Or, greater/less-than etc.)&lt;/li&gt;
&lt;li&gt;Joins through relationtionships, including many-to-many ones&lt;/li&gt;
&lt;li&gt;Translation of queries to FetchXML&lt;/li&gt;
&lt;li&gt;Parsing of result to anonymous types or CRM entities&lt;/li&gt;
&lt;li&gt;Orderby&lt;/li&gt;
&lt;li&gt;Skip/Take&lt;/li&gt;
&lt;li&gt;Count&lt;/li&gt;
&lt;li&gt;Contains, StartsWith, EndsWith&lt;/li&gt;
&lt;li&gt;CRMMetal tool for generating many-to-many relationship classes&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Ressources&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://linqtocrm.codeplex.com/wikipage?title=Querying%20CRM%20with%20Linq&amp;referringTitle=Home"&gt;Querying CRM with Linq&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://linqtocrm.codeplex.com/wikipage?title=Updating%20CRM%20entities%20with%20LinqtoCRM&amp;referringTitle=Home"&gt;Updating CRM entities with LinqtoCRM&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://friism.com/linqtocrm-030-released" class="externalLink"&gt;Getting started webcast&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://friism.com/querying-relationships-with-linqtocrm" class="externalLink"&gt;Querying relationships webcast&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://linqtocrm.codeplex.com/wikipage?title=Change%20log&amp;referringTitle=Home"&gt;Change log&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Todo&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;A visual debugger/visualizer to show were you&amp;#39;ve been too ambitious with your query. Bart De Smet seems to have the right &lt;a href="http://community.bartdesmet.net/blogs/linqtosharepoint/archive/2007/07/05/linq-to-sharepoint-improving-the-parser-debugger-visualizer-fun.aspx" class="externalLink"&gt;idea&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;A &amp;quot;pedal-to-the-metal&amp;quot; toggle. If the code will be running with acess to the SQL-server, the developer can specify that the query should be translated to SQL and run on the filtered views at the flick of a switch.&lt;/li&gt;
&lt;li&gt;The CRM web service is tangled up in the queryprovider code. It would be desirable if it could be moved outside and accessed though an interface. The code is rather dependent on the types exposed by the web service proxy-classes and it is not clear how this dependency could be removed without implementing something along the lines of SQLMetal/SPMetal.&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Credits&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;Mel Gerats (implemented paging, contains and loads of other stuff)&lt;/li&gt;
&lt;li&gt;Petteri R&amp;#228;ty (rewrote query generation code, improved support for projections and conditions)&lt;/li&gt;
&lt;li&gt;Michael Friis (initial version, various updates,maintenance)&lt;/li&gt;
&lt;li&gt;Bart De Smet for the inspirational &lt;a href="http://www.codeplex.com/LINQtoSharePoint" class="externalLink"&gt;LINQtoSharePoint&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; implementation&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stunnware.com/crm/" class="externalLink"&gt;Michael H&amp;#246;hne&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for his FetchXML library&lt;/li&gt;
&lt;li&gt;Matt Warren for his articles on QueryProvider-building: &lt;a href="http://blogs.msdn.com/mattwar/archive/2007/08/03/linq-building-an-iqueryable-provider-part-v.aspx" class="externalLink"&gt;http://blogs.msdn.com/mattwar/archive/2007/08/03/linq-building-an-iqueryable-provider-part-v.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>friism</author><pubDate>Sun, 23 May 2010 08:11:13 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20100523081113A</guid></item><item><title>Updated Wiki: Home</title><link>http://linqtocrm.codeplex.com/wikipage?version=76</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;UPDATE&lt;/b&gt; &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=82e632a7-faf9-41e0-8ec1-a2662aae9dfb&amp;amp;displaylang=en" class="externalLink"&gt;Version 4.0.12 of the Microsoft CRM SDK&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; includes a &lt;a href="http://msdn.microsoft.com/en-us/library/ff681573(v=MSDN.10).aspx" class="externalLink"&gt;Linq query provider for CRM&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;. I (friism) haven&amp;#39;t tested it, but you should probably give it a try before going with LINQtoCRM.&lt;br /&gt;
&lt;h2&gt;Introduction&lt;/h2&gt;The Linq to CRM project provides a custom query provider for &lt;a href="http://www.microsoft.com/dynamics/crm/" class="externalLink"&gt;Microsoft Dynamics CRM/xRM&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; (mscrm).&lt;br /&gt;&lt;br /&gt;Found a query you think should work, but LinqtoCRM breaks or returns the wrong data? Please create a work-item or send it to me at friism+linqtocrm@gmail.com.&lt;br /&gt;
&lt;h2&gt;Features&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;Where-clauses of some complexity (And/Or, greater/less-than etc.)&lt;/li&gt;
&lt;li&gt;Joins through relationtionships, including many-to-many ones&lt;/li&gt;
&lt;li&gt;Translation of queries to FetchXML&lt;/li&gt;
&lt;li&gt;Parsing of result to anonymous types or CRM entities&lt;/li&gt;
&lt;li&gt;Orderby&lt;/li&gt;
&lt;li&gt;Skip/Take&lt;/li&gt;
&lt;li&gt;Count&lt;/li&gt;
&lt;li&gt;Contains, StartsWith, EndsWith&lt;/li&gt;
&lt;li&gt;CRMMetal tool for generating many-to-many relationship classes&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Ressources&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://linqtocrm.codeplex.com/wikipage?title=Querying%20CRM%20with%20Linq&amp;referringTitle=Home"&gt;Querying CRM with Linq&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://linqtocrm.codeplex.com/wikipage?title=Updating%20CRM%20entities%20with%20LinqtoCRM&amp;referringTitle=Home"&gt;Updating CRM entities with LinqtoCRM&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://friism.com/linqtocrm-030-released" class="externalLink"&gt;Getting started webcast&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://friism.com/querying-relationships-with-linqtocrm" class="externalLink"&gt;Querying relationships webcast&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://linqtocrm.codeplex.com/wikipage?title=Change%20log&amp;referringTitle=Home"&gt;Change log&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Todo&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;A visual debugger/visualizer to show were you&amp;#39;ve been too ambitious with your query. Bart De Smet seems to have the right &lt;a href="http://community.bartdesmet.net/blogs/linqtosharepoint/archive/2007/07/05/linq-to-sharepoint-improving-the-parser-debugger-visualizer-fun.aspx" class="externalLink"&gt;idea&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;A &amp;quot;pedal-to-the-metal&amp;quot; toggle. If the code will be running with acess to the SQL-server, the developer can specify that the query should be translated to SQL and run on the filtered views at the flick of a switch.&lt;/li&gt;
&lt;li&gt;The CRM web service is tangled up in the queryprovider code. It would be desirable if it could be moved outside and accessed though an interface. The code is rather dependent on the types exposed by the web service proxy-classes and it is not clear how this dependency could be removed without implementing something along the lines of SQLMetal/SPMetal.&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Credits&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;Mel Gerats (implemented paging, contains and loads of other stuff)&lt;/li&gt;
&lt;li&gt;Petteri R&amp;#228;ty (rewrote query generation code, improved support for projections and conditions)&lt;/li&gt;
&lt;li&gt;Michael Friis (initial version, various updates,maintenance)&lt;/li&gt;
&lt;li&gt;Bart De Smet for the inspirational &lt;a href="http://www.codeplex.com/LINQtoSharePoint" class="externalLink"&gt;LINQtoSharePoint&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; implementation&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.stunnware.com/crm/" class="externalLink"&gt;Michael H&amp;#246;hne&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; for his FetchXML library&lt;/li&gt;
&lt;li&gt;Matt Warren for his articles on QueryProvider-building: &lt;a href="http://blogs.msdn.com/mattwar/archive/2007/08/03/linq-building-an-iqueryable-provider-part-v.aspx" class="externalLink"&gt;http://blogs.msdn.com/mattwar/archive/2007/08/03/linq-building-an-iqueryable-provider-part-v.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>friism</author><pubDate>Sun, 23 May 2010 07:09:47 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20100523070947A</guid></item><item><title>New Post: CRM SDK 4.0.0012 now includes a Linq-to-CRM query provider</title><link>http://linqtocrm.codeplex.com/Thread/View.aspx?ThreadId=213538</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thanks for the heads-up, I'll update the frontpage with a link.&lt;/p&gt;&lt;/div&gt;</description><author>friism</author><pubDate>Sun, 23 May 2010 06:56:35 GMT</pubDate><guid isPermaLink="false">New Post: CRM SDK 4.0.0012 now includes a Linq-to-CRM query provider 20100523065635A</guid></item></channel></rss>