<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>D-Blog &#187; LINQ</title>
	<atom:link href="http://cubicthoughts.com/tag/linq/feed/" rel="self" type="application/rss+xml" />
	<link>http://cubicthoughts.com</link>
	<description>just about anything...</description>
	<lastBuildDate>Tue, 29 Nov 2011 23:48:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>LINQ to SQL &#8211; Not Dead</title>
		<link>http://cubicthoughts.com/2008/11/03/linq-to-sql-not-dead/</link>
		<comments>http://cubicthoughts.com/2008/11/03/linq-to-sql-not-dead/#comments</comments>
		<pubDate>Sun, 02 Nov 2008 23:51:44 +0000</pubDate>
		<dc:creator>Deepak Vasa</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[L2S]]></category>
		<category><![CDATA[LINQ]]></category>
		<category><![CDATA[Not Dead]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://cubicthoughts.com/?p=92</guid>
		<description><![CDATA[For those who are not aware, last week there has been some misunderstanding regarding the future of LINQ to SQL based on announcements made by MS at PDC. Well after reading a few blogs around the Blogosphere I have come accross the following posts which explain that there is future for L2S: Read Damien Guard&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>For those who are not aware, last week there has been some misunderstanding regarding the future of LINQ to SQL based on announcements made by MS at PDC. Well after reading a few blogs around the Blogosphere I have come accross the following posts which explain that there is future for L2S:</p>
<p>Read Damien Guard&#8217;s blog -&gt;<a title="Damien Guard" href="http://damieng.com/" target="_self">http://damieng.com/</a></p>
<p>Read Huagati&#8217;s Blog -&gt; <a title="Linq not dead" href="http://blog.huagati.com/res/index.php/2008/11/03/quiet-blog-gone-fishing-is-linq-to-sql-dead-etc/" target="_self">http://blog.huagati.com/res/index.php/2008/11/03/quiet-blog-gone-fishing-is-linq-to-sql-dead-etc/</a></p>
<p>Further I found this cool image supporing L2S <a title="Simon Segal" href="http://www.simonsegal.net/blog/" target="_self">here</a></p>
<div id="attachment_93" class="wp-caption alignnone" style="width: 203px"><a href="http://cubicthoughts.com/wp-content/uploads/2008/11/supportl2s.gif"><img class="size-medium wp-image-93" title="Support LINQ to SQL" src="http://cubicthoughts.com/wp-content/uploads/2008/11/supportl2s.gif" alt="Long live LINQ to SQL !!!" width="193" height="193" /></a><p class="wp-caption-text">Long live LINQ to SQL !!!</p></div>
Written by Deepak Vasa - <a href="http://www.cubicthoughts.com">Visit Website</a>]]></content:encoded>
			<wfw:commentRss>http://cubicthoughts.com/2008/11/03/linq-to-sql-not-dead/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LINQ query to get all the column names in the DBML tables</title>
		<link>http://cubicthoughts.com/2008/10/31/linq-query-to-get-all-the-column-names-in-the-dbml-tables/</link>
		<comments>http://cubicthoughts.com/2008/10/31/linq-query-to-get-all-the-column-names-in-the-dbml-tables/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 05:51:00 +0000</pubDate>
		<dc:creator>Deepak Vasa</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Column Names]]></category>
		<category><![CDATA[DBML]]></category>
		<category><![CDATA[LINQ]]></category>
		<category><![CDATA[Row Names]]></category>
		<category><![CDATA[Table Names]]></category>

		<guid isPermaLink="false">http://cubicthoughts.com/?p=90</guid>
		<description><![CDATA[// LINQ query to get all the column names for every Table var model = new AttributeMappingSource().GetModel(typeof(ReportDBMLClassesDataContext)); int i = 0; ArrayList lblList = new ArrayList(); foreach (var mt in model.GetTables()) { i++; Label lbl = new Label(); lbl.Text = mt.TableName.ToString(); lbl.ID = &#8220;lbl&#8221; + i; Panel1.Controls.Add(lbl); Panel1.Controls.Add(new LiteralControl(&#8220;&#60;br&#62;&#8221;)); int r = 0; foreach (var [...]]]></description>
			<content:encoded><![CDATA[<p>// LINQ query to get all the column names for every Table<br />
var model = new AttributeMappingSource().GetModel(typeof(ReportDBMLClassesDataContext));<br />
int i = 0;<br />
ArrayList lblList = new ArrayList();<br />
foreach (var mt in model.GetTables())<br />
{<br />
i++;<br />
Label lbl = new Label();<br />
lbl.Text = mt.TableName.ToString();<br />
lbl.ID = &#8220;lbl&#8221; + i;<br />
Panel1.Controls.Add(lbl);<br />
Panel1.Controls.Add(new LiteralControl(&#8220;&lt;br&gt;&#8221;));<br />
int r = 0;<br />
foreach (var dm in mt.RowType.DataMembers)<br />
{<br />
r++;<br />
Label rlbl = new Label();<br />
rlbl.Text = dm.MappedName.ToString();<br />
rlbl.ID = &#8220;rlbl&#8221; + i + &#8220;&#8221; + r;<br />
Panel1.Controls.Add(rlbl);<br />
Panel1.Controls.Add(new LiteralControl(&#8220;&lt;br&gt;&#8221;));<br />
}<br />
}</p>
Written by Deepak Vasa - <a href="http://www.cubicthoughts.com">Visit Website</a>]]></content:encoded>
			<wfw:commentRss>http://cubicthoughts.com/2008/10/31/linq-query-to-get-all-the-column-names-in-the-dbml-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

