<?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/"
	>
<channel>
	<title>Comments on: LINQ to SQL Gotcha #5: Column Default Values</title>
	<atom:link href="http://graemehill.ca/linq-to-sql-gotcha-5-column-default-values/feed" rel="self" type="application/rss+xml" />
	<link>http://graemehill.ca/linq-to-sql-gotcha-5-column-default-values</link>
	<description></description>
	<pubDate>Sat, 19 May 2012 09:24:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Brink</title>
		<link>http://graemehill.ca/linq-to-sql-gotcha-5-column-default-values/comment-page-1#comment-2959</link>
		<dc:creator>Brink</dc:creator>
		<pubDate>Wed, 21 Dec 2011 22:37:21 +0000</pubDate>
		<guid isPermaLink="false">http://graemehill.ca/?p=246#comment-2959</guid>
		<description>This is even later but szilardd answer works only if you never want to change the value. Throws an exception if you attempt to change the value.</description>
		<content:encoded><![CDATA[<p>This is even later but szilardd answer works only if you never want to change the value. Throws an exception if you attempt to change the value.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: szilardd</title>
		<link>http://graemehill.ca/linq-to-sql-gotcha-5-column-default-values/comment-page-1#comment-903</link>
		<dc:creator>szilardd</dc:creator>
		<pubDate>Tue, 22 Feb 2011 13:51:37 +0000</pubDate>
		<guid isPermaLink="false">http://graemehill.ca/?p=246#comment-903</guid>
		<description>Late comment, but maybe someone will find it useful: this can be also fixed by setting the "Auto Generated Value" to True for these kind of columns in the dbml</description>
		<content:encoded><![CDATA[<p>Late comment, but maybe someone will find it useful: this can be also fixed by setting the &#8220;Auto Generated Value&#8221; to True for these kind of columns in the dbml</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graeme</title>
		<link>http://graemehill.ca/linq-to-sql-gotcha-5-column-default-values/comment-page-1#comment-827</link>
		<dc:creator>Graeme</dc:creator>
		<pubDate>Tue, 07 Dec 2010 16:21:58 +0000</pubDate>
		<guid isPermaLink="false">http://graemehill.ca/?p=246#comment-827</guid>
		<description>You could replace Date.Now with:

myDataContext.ExecuteQuery(Of Date)("SELECT GETDATE()").Single</description>
		<content:encoded><![CDATA[<p>You could replace Date.Now with:</p>
<p>myDataContext.ExecuteQuery(Of Date)(&#8221;SELECT GETDATE()&#8221;).Single</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://graemehill.ca/linq-to-sql-gotcha-5-column-default-values/comment-page-1#comment-826</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Tue, 07 Dec 2010 15:00:57 +0000</pubDate>
		<guid isPermaLink="false">http://graemehill.ca/?p=246#comment-826</guid>
		<description>The solutions you propose will use the client date/time though, not SQL Server's, right? Is there no way to get the server's?</description>
		<content:encoded><![CDATA[<p>The solutions you propose will use the client date/time though, not SQL Server&#8217;s, right? Is there no way to get the server&#8217;s?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

