<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">
<channel>
	<title>Comments for Codebender</title>
	
	<link>http://codebender.denniland.com</link>
	<description>not the last of his kind</description>
	<lastBuildDate>Fri, 16 Sep 2011 03:46:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/codebender-comments" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="codebender-comments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on Refreshing the LINQ to SQL DataContext by Clearing the Cache by Anonymous</title>
		<link>http://codebender.denniland.com/refreshing-the-linq-to-sql-datacontext-by-clearing-the-cache/comment-page-1/#comment-10341</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 16 Sep 2011 03:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://codebender.denniland.com/?p=53#comment-10341</guid>
		<description>Hi Alex,

This article is only for LINQ to SQL. Since it's a calling a L2S private method, there's no guarantee that method exists in other libraries.

Other possible workarounds are just like you said, by disposing and recreating the DataContext instance, or simple instantiate a new DataContext instance.</description>
		<content:encoded><![CDATA[<p>Hi Alex,</p>
<p>This article is only for LINQ to SQL. Since it&#8217;s a calling a L2S private method, there&#8217;s no guarantee that method exists in other libraries.</p>
<p>Other possible workarounds are just like you said, by disposing and recreating the DataContext instance, or simple instantiate a new DataContext instance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Refreshing the LINQ to SQL DataContext by Clearing the Cache by Alex Gaisman</title>
		<link>http://codebender.denniland.com/refreshing-the-linq-to-sql-datacontext-by-clearing-the-cache/comment-page-1/#comment-10340</link>
		<dc:creator>Alex Gaisman</dc:creator>
		<pubDate>Tue, 13 Sep 2011 19:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://codebender.denniland.com/?p=53#comment-10340</guid>
		<description>I am getting the same error like "Must specify binding flags describing the invoke operation requred..." But i think I am getting this error becouse I am using DbLinq.dll and MySqlContext which doesn't have ClearCache method in it. I couldn't find any other class method that would be helpful in this case, but some other article proposed just to dispose and recreate DataContext class.</description>
		<content:encoded><![CDATA[<p>I am getting the same error like &#8220;Must specify binding flags describing the invoke operation requred&#8230;&#8221; But i think I am getting this error becouse I am using DbLinq.dll and MySqlContext which doesn&#8217;t have ClearCache method in it. I couldn&#8217;t find any other class method that would be helpful in this case, but some other article proposed just to dispose and recreate DataContext class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A singleton base class to implement the singleton pattern in C# by Anonymous</title>
		<link>http://codebender.denniland.com/a-singleton-base-class-to-implement-the-singleton-pattern-in-c/comment-page-1/#comment-10321</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sat, 06 Aug 2011 04:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://codebender.denniland.com/?p=58#comment-10321</guid>
		<description>Hi Mikhail,

Thanks for your comment.

As C# doesn't allow multiple class inheritance, obviously you cannot do it. But there are some possible design alternatives that you can follow:
1. If the Generator class is abstract, you can convert it to an interface.
2. Encapsulate the Generator class inside the SequenceGeneratorSingleton class (composition).

Of course if you really really have to inherit from another base class, then you cannot use this SingletonBase class.</description>
		<content:encoded><![CDATA[<p>Hi Mikhail,</p>
<p>Thanks for your comment.</p>
<p>As C# doesn&#8217;t allow multiple class inheritance, obviously you cannot do it. But there are some possible design alternatives that you can follow:<br />
1. If the Generator class is abstract, you can convert it to an interface.<br />
2. Encapsulate the Generator class inside the SequenceGeneratorSingleton class (composition).</p>
<p>Of course if you really really have to inherit from another base class, then you cannot use this SingletonBase class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A singleton base class to implement the singleton pattern in C# by Mikhail_naumov</title>
		<link>http://codebender.denniland.com/a-singleton-base-class-to-implement-the-singleton-pattern-in-c/comment-page-1/#comment-10319</link>
		<dc:creator>Mikhail_naumov</dc:creator>
		<pubDate>Fri, 05 Aug 2011 19:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://codebender.denniland.com/?p=58#comment-10319</guid>
		<description>this is something I did too but WHAT IF SequenceGeneratorSingleton has to also inherit from base class e.g. SequenceGeneratorSingleton : Generator
How would you solve this then?</description>
		<content:encoded><![CDATA[<p>this is something I did too but WHAT IF SequenceGeneratorSingleton has to also inherit from base class e.g. SequenceGeneratorSingleton : Generator<br />
How would you solve this then?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Refreshing the LINQ to SQL DataContext by Clearing the Cache by Anonymous</title>
		<link>http://codebender.denniland.com/refreshing-the-linq-to-sql-datacontext-by-clearing-the-cache/comment-page-1/#comment-10310</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sat, 30 Jul 2011 02:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://codebender.denniland.com/?p=53#comment-10310</guid>
		<description>1. Can you specify the code that you used?
2. How did you know that the item was present if it gave you no result? Did you check the database?</description>
		<content:encoded><![CDATA[<p>1. Can you specify the code that you used?<br />
2. How did you know that the item was present if it gave you no result? Did you check the database?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Refreshing the LINQ to SQL DataContext by Clearing the Cache by Sarfarosh</title>
		<link>http://codebender.denniland.com/refreshing-the-linq-to-sql-datacontext-by-clearing-the-cache/comment-page-1/#comment-10309</link>
		<dc:creator>Sarfarosh</dc:creator>
		<pubDate>Fri, 29 Jul 2011 16:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://codebender.denniland.com/?p=53#comment-10309</guid>
		<description>I am getting an error like "Must specify binding flags describing the invoke operation required (BindingFlags.InvokeMethod CreateInstance GetField SetField GetProperty SetProperty)."

I added a new item new my Context and Inserted succsessfully in db too. Immediately after that if i search for that item in the Context (I can see that particular item is present in the Context), it gives no result eventhough the item present? Any Idea?</description>
		<content:encoded><![CDATA[<p>I am getting an error like &#8220;Must specify binding flags describing the invoke operation required (BindingFlags.InvokeMethod CreateInstance GetField SetField GetProperty SetProperty).&#8221;</p>
<p>I added a new item new my Context and Inserted succsessfully in db too. Immediately after that if i search for that item in the Context (I can see that particular item is present in the Context), it gives no result eventhough the item present? Any Idea?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on LiquidSilver SharePoint Framework by LiquidSilver 0.3.0.0 Beta released</title>
		<link>http://codebender.denniland.com/liquidsilver-sharepoint-framework/comment-page-1/#comment-10281</link>
		<dc:creator>LiquidSilver 0.3.0.0 Beta released</dc:creator>
		<pubDate>Thu, 07 Jul 2011 06:25:50 +0000</pubDate>
		<guid isPermaLink="false">http://codebender.denniland.com/?page_id=37#comment-10281</guid>
		<description>[...] LiquidSilver SharePoint Framework                « LiquidSilver 0.2.0.0 Beta released C# constants best practice » [...]</description>
		<content:encoded><![CDATA[<p>[...] LiquidSilver SharePoint Framework                &laquo; LiquidSilver 0.2.0.0 Beta released C# constants best practice &raquo; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Five Things Today’s IT Workers Must Do by Isu Hangat</title>
		<link>http://codebender.denniland.com/five-things-todays-it-workers-must-do/comment-page-1/#comment-10124</link>
		<dc:creator>Isu Hangat</dc:creator>
		<pubDate>Fri, 13 May 2011 14:37:05 +0000</pubDate>
		<guid isPermaLink="false">http://codebender.denniland.com/five-things-todays-it-workers-must-do/#comment-10124</guid>
		<description>Very good written post. It will be supportive to anyone who employess it, as well as me. Keep up the good work - i will definitely read more posts. 

Edmond Rando.</description>
		<content:encoded><![CDATA[<p>Very good written post. It will be supportive to anyone who employess it, as well as me. Keep up the good work &#8211; i will definitely read more posts. </p>
<p>Edmond Rando.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SharePoint Bending: Remove “Send To” Context Menu Without Modifying Core.JS by DT</title>
		<link>http://codebender.denniland.com/sharepoint-bending-remove-send-to-context-menu-without-modifying-corejs/comment-page-1/#comment-9727</link>
		<dc:creator>DT</dc:creator>
		<pubDate>Thu, 28 Apr 2011 23:32:33 +0000</pubDate>
		<guid isPermaLink="false">http://codebender.denniland.com/?p=10#comment-9727</guid>
		<description>Is it possible to only disable the Send-To Other Location option ?
Assuming so - please can someone offer the code for this, thanks in advance</description>
		<content:encoded><![CDATA[<p>Is it possible to only disable the Send-To Other Location option ?<br />
Assuming so &#8211; please can someone offer the code for this, thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SharePoint Bending: Remove “Send To” Context Menu Without Modifying Core.JS by Mota Landh</title>
		<link>http://codebender.denniland.com/sharepoint-bending-remove-send-to-context-menu-without-modifying-corejs/comment-page-1/#comment-8445</link>
		<dc:creator>Mota Landh</dc:creator>
		<pubDate>Wed, 16 Mar 2011 20:09:13 +0000</pubDate>
		<guid isPermaLink="false">http://codebender.denniland.com/?p=10#comment-8445</guid>
		<description>I just want to remove "Download a copy" from the sub menu. I like leave everything else intact.</description>
		<content:encoded><![CDATA[<p>I just want to remove &#8220;Download a copy&#8221; from the sub menu. I like leave everything else intact.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

