<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Solutionizing .NET</title>
	<atom:link href="http://solutionizing.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://solutionizing.net</link>
	<description>Random thoughts on custom development in SharePoint.</description>
	<lastBuildDate>Sat, 12 May 2012 03:45:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on Faking SPContext by Keith Dahlby</title>
		<link>http://solutionizing.net/2009/02/16/faking-spcontext/#comment-1130</link>
		<dc:creator><![CDATA[Keith Dahlby]]></dc:creator>
		<pubDate>Sat, 12 May 2012 03:45:35 +0000</pubDate>
		<guid isPermaLink="false">http://solutionizing.net/?p=431#comment-1130</guid>
		<description><![CDATA[I expect faking &lt;code&gt;CurrentUser&lt;/code&gt; would be much more difficult, if it&#039;s possible at all.]]></description>
		<content:encoded><![CDATA[<p>I expect faking <code>CurrentUser</code> would be much more difficult, if it&#8217;s possible at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Faking SPContext by Kwok-Ho</title>
		<link>http://solutionizing.net/2009/02/16/faking-spcontext/#comment-1129</link>
		<dc:creator><![CDATA[Kwok-Ho]]></dc:creator>
		<pubDate>Thu, 10 May 2012 15:54:03 +0000</pubDate>
		<guid isPermaLink="false">http://solutionizing.net/?p=431#comment-1129</guid>
		<description><![CDATA[Do you think you can also fake the SPContext.Web.CurrentUser?
because it would be a great way to impersonate a user through this part.]]></description>
		<content:encoded><![CDATA[<p>Do you think you can also fake the SPContext.Web.CurrentUser?<br />
because it would be a great way to impersonate a user through this part.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Site Collection-Safe CQWP XSL Links by Matt Stark</title>
		<link>http://solutionizing.net/2008/12/11/site-collection-safe-cqwp-xsl-links/#comment-1126</link>
		<dc:creator><![CDATA[Matt Stark]]></dc:creator>
		<pubDate>Fri, 04 May 2012 03:14:45 +0000</pubDate>
		<guid isPermaLink="false">http://solutionizing.net/?p=251#comment-1126</guid>
		<description><![CDATA[Here is another option ... may be a bit more slick than checking if the url starts with &quot;/&quot; ...
var earl = Microsoft.SharePoint.Publishing.WebControls.SPUrlExpressionBuilder.EvaluateUrlExpression(url);

... this will fix the ~sitecollection/, ~site/, ~sitecollection/~lanugage/ sections of URL&#039;s...

Get er done.]]></description>
		<content:encoded><![CDATA[<p>Here is another option &#8230; may be a bit more slick than checking if the url starts with &#8220;/&#8221; &#8230;<br />
var earl = Microsoft.SharePoint.Publishing.WebControls.SPUrlExpressionBuilder.EvaluateUrlExpression(url);</p>
<p>&#8230; this will fix the ~sitecollection/, ~site/, ~sitecollection/~lanugage/ sections of URL&#8217;s&#8230;</p>
<p>Get er done.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Selecting Static Results with Dynamic LINQ by Patrick</title>
		<link>http://solutionizing.net/2010/01/23/selecting-static-results-with-dynamic-linq/#comment-1101</link>
		<dc:creator><![CDATA[Patrick]]></dc:creator>
		<pubDate>Mon, 19 Mar 2012 14:23:55 +0000</pubDate>
		<guid isPermaLink="false">http://solutionizing.net/?p=701#comment-1101</guid>
		<description><![CDATA[Sure - here are a few more details:

I have an objectquery that is typed to my POCO - right now we are calling the &quot;where&quot; and &quot;orderby&quot; extensions out of Dynamic Linq on that object query and getting good results.  I then added the code in this thread and attempted to call the new select extension and this is where we are getting the error below.
  The entity or complex type XXX cannot be constructed in a LINQ to Entities query.
The call to the new select method looks like:
  var result = innerQuery.Select(select); // where the select variable is my select list

the interesting part is when looking at the exception being thrown, it says that its trying to construct the actual entity and NOT the POCO object - which is what I&#039;m not understanding because the query is typed to the POCO.

let me know if this helps understanding my issue or if there are specific details I can share - I will also get this out on stackoverflow later today
Thanks!]]></description>
		<content:encoded><![CDATA[<p>Sure &#8211; here are a few more details:</p>
<p>I have an objectquery that is typed to my POCO &#8211; right now we are calling the &#8220;where&#8221; and &#8220;orderby&#8221; extensions out of Dynamic Linq on that object query and getting good results.  I then added the code in this thread and attempted to call the new select extension and this is where we are getting the error below.<br />
  The entity or complex type XXX cannot be constructed in a LINQ to Entities query.<br />
The call to the new select method looks like:<br />
  var result = innerQuery.Select(select); // where the select variable is my select list</p>
<p>the interesting part is when looking at the exception being thrown, it says that its trying to construct the actual entity and NOT the POCO object &#8211; which is what I&#8217;m not understanding because the query is typed to the POCO.</p>
<p>let me know if this helps understanding my issue or if there are specific details I can share &#8211; I will also get this out on stackoverflow later today<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Selecting Static Results with Dynamic LINQ by Keith Dahlby</title>
		<link>http://solutionizing.net/2010/01/23/selecting-static-results-with-dynamic-linq/#comment-1099</link>
		<dc:creator><![CDATA[Keith Dahlby]]></dc:creator>
		<pubDate>Sat, 17 Mar 2012 01:42:37 +0000</pubDate>
		<guid isPermaLink="false">http://solutionizing.net/?p=701#comment-1099</guid>
		<description><![CDATA[I haven&#039;t tried this with EF. Feel free to post more details here or on Stack Overflow.]]></description>
		<content:encoded><![CDATA[<p>I haven&#8217;t tried this with EF. Feel free to post more details here or on Stack Overflow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Selecting Static Results with Dynamic LINQ by Patrick</title>
		<link>http://solutionizing.net/2010/01/23/selecting-static-results-with-dynamic-linq/#comment-1098</link>
		<dc:creator><![CDATA[Patrick]]></dc:creator>
		<pubDate>Fri, 16 Mar 2012 18:25:13 +0000</pubDate>
		<guid isPermaLink="false">http://solutionizing.net/?p=701#comment-1098</guid>
		<description><![CDATA[Hi,
I have been trying to get this up and running and am having no luck - I&#039;m trying to call into the new select method and sparsely populate a poco with the columns I specify in the select statement.  Each time I call the select, when I try and evaluate the queryable I get the following error:

The entity or complex type XXX cannot be constructed in a LINQ to Entities query.

where &quot;XXX&quot; is the objectset (and not the poco).  Has anyone seen this before or have any advice for getting around this issue?
Thanks for any help!  And let me know if more details are needed.]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
I have been trying to get this up and running and am having no luck &#8211; I&#8217;m trying to call into the new select method and sparsely populate a poco with the columns I specify in the select statement.  Each time I call the select, when I try and evaluate the queryable I get the following error:</p>
<p>The entity or complex type XXX cannot be constructed in a LINQ to Entities query.</p>
<p>where &#8220;XXX&#8221; is the objectset (and not the poco).  Has anyone seen this before or have any advice for getting around this issue?<br />
Thanks for any help!  And let me know if more details are needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Site Collection-Safe CQWP XSL Links by Sangeet Ahuja</title>
		<link>http://solutionizing.net/2008/12/11/site-collection-safe-cqwp-xsl-links/#comment-1064</link>
		<dc:creator><![CDATA[Sangeet Ahuja]]></dc:creator>
		<pubDate>Fri, 06 Jan 2012 00:13:52 +0000</pubDate>
		<guid isPermaLink="false">http://solutionizing.net/?p=251#comment-1064</guid>
		<description><![CDATA[Posted too soon. 
The technique in this post is to replace the ~sitecollection programmatically in the feature receiver
of the feature containing the webpart.]]></description>
		<content:encoded><![CDATA[<p>Posted too soon.<br />
The technique in this post is to replace the ~sitecollection programmatically in the feature receiver<br />
of the feature containing the webpart.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Site Collection-Safe CQWP XSL Links by Sangeet Ahuja</title>
		<link>http://solutionizing.net/2008/12/11/site-collection-safe-cqwp-xsl-links/#comment-1063</link>
		<dc:creator><![CDATA[Sangeet Ahuja]]></dc:creator>
		<pubDate>Fri, 06 Jan 2012 00:05:14 +0000</pubDate>
		<guid isPermaLink="false">http://solutionizing.net/?p=251#comment-1063</guid>
		<description><![CDATA[Check this out...
http://borderingdotnet.blogspot.com/2012/01/building-custom-contentquerywebpart.html

Yes, that&#039;s right: no slash between ~sitecollection and Style Library.]]></description>
		<content:encoded><![CDATA[<p>Check this out&#8230;<br />
<a href="http://borderingdotnet.blogspot.com/2012/01/building-custom-contentquerywebpart.html" rel="nofollow">http://borderingdotnet.blogspot.com/2012/01/building-custom-contentquerywebpart.html</a></p>
<p>Yes, that&#8217;s right: no slash between ~sitecollection and Style Library.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SPWebConfigModification Works Fine by Alex&#039;s SharePoint Blog &#187; Deploying Nintex Workflow Custom Action with Multiple Web Front End&#8217;s</title>
		<link>http://solutionizing.net/2009/05/26/spwebconfigmodification-works-fine/#comment-1050</link>
		<dc:creator><![CDATA[Alex&#039;s SharePoint Blog &#187; Deploying Nintex Workflow Custom Action with Multiple Web Front End&#8217;s]]></dc:creator>
		<pubDate>Tue, 06 Dec 2011 02:07:56 +0000</pubDate>
		<guid isPermaLink="false">http://solutionizing.net/?p=523#comment-1050</guid>
		<description><![CDATA[[...] &#8211; I found this blog post (http://solutionizing.net/2009/05/26/spwebconfigmodification-works-fine/) which suggests that the ContentService class simply provides a constructor to handle if the Farm [...]]]></description>
		<content:encoded><![CDATA[<p>[...] &#8211; I found this blog post (<a href="http://solutionizing.net/2009/05/26/spwebconfigmodification-works-fine/" rel="nofollow">http://solutionizing.net/2009/05/26/spwebconfigmodification-works-fine/</a>) which suggests that the ContentService class simply provides a constructor to handle if the Farm [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Site Collection-Safe CQWP XSL Links by krishna</title>
		<link>http://solutionizing.net/2008/12/11/site-collection-safe-cqwp-xsl-links/#comment-1048</link>
		<dc:creator><![CDATA[krishna]]></dc:creator>
		<pubDate>Wed, 30 Nov 2011 18:39:09 +0000</pubDate>
		<guid isPermaLink="false">http://solutionizing.net/?p=251#comment-1048</guid>
		<description><![CDATA[Sabbah: It doesn&#039;t work for me the path as you said.

Giving me error while adding web part to page.]]></description>
		<content:encoded><![CDATA[<p>Sabbah: It doesn&#8217;t work for me the path as you said.</p>
<p>Giving me error while adding web part to page.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

