<?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>dennis&#039; blog &#187; SQL Server</title>
	<atom:link href="http://dennispiccioni.com/wordpress/archives/tag/sql-server/feed" rel="self" type="application/rss+xml" />
	<link>http://dennispiccioni.com/wordpress</link>
	<description></description>
	<lastBuildDate>Mon, 19 Apr 2010 22:54:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Caching SQL Server Tables Locally with SQL Server Compact Edition</title>
		<link>http://dennispiccioni.com/wordpress/archives/322</link>
		<comments>http://dennispiccioni.com/wordpress/archives/322#comments</comments>
		<pubDate>Sat, 19 Dec 2009 16:15:56 +0000</pubDate>
		<dc:creator>Dennis</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server CE]]></category>

		<guid isPermaLink="false">http://dennispiccioni.com/wordpress/?p=322</guid>
		<description><![CDATA[When connecting from Visual Studio 2008 to an SQL Server 2008 database, Visual Studio allows you to enable local database caching by creating a local copy of the database as a SQL Server Compact Edition (CE) database. This database becomes an embedded database in your project.
This is great; it allows you to develop and run [...]]]></description>
			<content:encoded><![CDATA[<p>When connecting from Visual Studio 2008 to an SQL Server 2008 database, Visual Studio allows you to enable local database caching by creating a local copy of the database as a SQL Server Compact Edition (CE) database. This database becomes an embedded database in your project.</p>
<p>This is great; it allows you to develop and run a database application without requiring a connection to an SQL Server or even installing SQL Server on the client PC that runs the application. You can then use this as a standalone single user application or synchronize data between the application&#8217;s local cache and a running SQL Server database.</p>
<p>When you create a new strongly typed DataSet in the Studio via Data &gt; Add New Data Source, if the data source is an SQL Server database, you get the option to &#8220;Enable local database caching&#8221;. If checked, Visual Studio will automatically create a Local Database Cache (.sync) file and add it to your project. The code in your DataSet is created using System.Data.SqlServerCe.SqlCexx so that your code can connect to the SQLCE database. It also creates the local SQLCE database (a .sdf file), and adds it to your project.</p>
<p>The key piece in this process is the Local Database Cache (.sync) file. This is what allows you to configure which tables can be cached in your local SQLCE database. If you bring up the Configure DataSet Wizard to either create or edit a DataSet and it won&#8217;t allow you to select some tables to be cached locally, you can create or edit the .sync file. The <a href="http://msdn.microsoft.com/en-us/library/cc714038.aspx" target="_blank">How to: Configure Data Synchronization to Use SQL Server Change Tracking</a> page shows you how to create this file from scratch.</p>
<p>If you already have a .sync file, you can configure it by right-clicking on the file in Solution Explorer and choosing View Designer from the context menu. It&#8217;s kind of hidden, but if you click the Add button to add a table (provided there are more tables available in your database that can be added), you will see a link to <a href="http://msdn.microsoft.com/en-us/library/bb763049.aspx" target="_blank">Learn more about which tables can be cached&#8230;</a>, which explains the rules determining which tables can be cached.</p>
]]></content:encoded>
			<wfw:commentRss>http://dennispiccioni.com/wordpress/archives/322/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Austin Code Camp 2009</title>
		<link>http://dennispiccioni.com/wordpress/archives/135</link>
		<comments>http://dennispiccioni.com/wordpress/archives/135#comments</comments>
		<pubDate>Wed, 03 Jun 2009 17:23:44 +0000</pubDate>
		<dc:creator>Dennis</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[ADNUG]]></category>
		<category><![CDATA[Austin]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://dennispiccioni.com/wordpress/?p=135</guid>
		<description><![CDATA[Last Saturday I attended Austin Code Camp 2009. This was the second year I attended and I&#8217;m already looking forward to next year! Austin Code Camp is an annual event of a full Saturday of .Net-related classes and presentations, all completely free to attendees like myself.
My biggest problem was picking which sessions to attend, or worse, [...]]]></description>
			<content:encoded><![CDATA[<p>Last Saturday I attended Austin Code Camp 2009. This was the second year I attended and I&#8217;m already looking forward to next year! Austin Code Camp is an annual event of a full Saturday of .Net-related classes and presentations, all completely free to attendees like myself.</p>
<p>My biggest problem was picking which sessions to attend, or worse, which ones not to attend. <img src='http://dennispiccioni.com/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>I eventually chose to attend <em>Sneak peek at C# 4.0</em> by <a href="http://www.lostechies.com/blogs/jimmy_bogard/" target="_blank">Jimmy Bogard</a>, who gave a similar session about C# 3.0 at last year&#8217;s camp, and 2 excellent 2 hour SQL Server sessions by <a href="http://anildesai.net" target="_blank">Anil Desai</a>, <em>SQL Server Reporting Services: Report Creation and Deployment</em> and <em>SQL Server Performance Monitoring &amp; Optimization</em>. All 3 sessions were awesome, thanks guys!</p>
<p>Thanks to <a href="http://geekswithblogs.net/johnteague/Default.aspx" target="_blank">John Teague</a>, all presenters, the <a href="http://www.adnug.org/" target="_blank">Austin .Net Users Group</a>, the sponsors and everyone else who helped make this event happen!</p>
]]></content:encoded>
			<wfw:commentRss>http://dennispiccioni.com/wordpress/archives/135/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
