<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.1.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Database Continuous Integration in .NET</title>
	<link>http://www.wildbit.com/blog/2008/03/24/database-continuous-integration-in-net/</link>
	<description>Wildbit builds subscriber-based services and social software for the web. We focus on innovation and effective interface design to drive results.</description>
	<pubDate>Mon, 12 May 2008 04:03:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.3</generator>

	<item>
		<title>By: Dima Pasko</title>
		<link>http://www.wildbit.com/blog/2008/03/24/database-continuous-integration-in-net/#comment-1443</link>
		<author>Dima Pasko</author>
		<pubDate>Mon, 24 Mar 2008 21:07:44 +0000</pubDate>
		<guid>http://www.wildbit.com/blog/2008/03/24/database-continuous-integration-in-net/#comment-1443</guid>
					<description>I also recommend Migrator.NET (http://code.google.com/p/migratordotnet/wiki/Links) or DbRefactor(http://code.google.com/p/dbrefactor/ - modified version of Migrator.NET).

These products are based on Ruby On Rails - Migrator idea (http://api.rubyonrails.org/classes/ActiveRecord/Migration.html)

You don't need to write any SQL code - all will be in C#</description>
		<content:encoded><![CDATA[<p>I also recommend Migrator.NET (http://code.google.com/p/migratordotnet/wiki/Links) or DbRefactor(http://code.google.com/p/dbrefactor/ - modified version of Migrator.NET).</p>
<p>These products are based on Ruby On Rails - Migrator idea (http://api.rubyonrails.org/classes/ActiveRecord/Migration.html)</p>
<p>You don&#8217;t need to write any SQL code - all will be in C#</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Alexander Kleshchevnikov</title>
		<link>http://www.wildbit.com/blog/2008/03/24/database-continuous-integration-in-net/#comment-1445</link>
		<author>Alexander Kleshchevnikov</author>
		<pubDate>Mon, 24 Mar 2008 22:22:05 +0000</pubDate>
		<guid>http://www.wildbit.com/blog/2008/03/24/database-continuous-integration-in-net/#comment-1445</guid>
					<description>Hi Dima! Nice to see you here. Migrater.NET looks nice. One question though. Most of the projects especially production ones have data in the databases and CREATE and DROP table aren't the proper methods of database updates because the data stored in the tables will be lost. For example, if I need to add a new column I usually create a new change script with T-SQL:

ALTER TABLE [TableName] ADD [ColumnName] [ColumnDeclarations]

Or, for instance, I need to make some kind of operation through out the table and cursor is required so T-SQL will be more complicated in this case. Not sure that C# style is more suitable than standart T-SQL.

What do you think about all this?</description>
		<content:encoded><![CDATA[<p>Hi Dima! Nice to see you here. Migrater.NET looks nice. One question though. Most of the projects especially production ones have data in the databases and CREATE and DROP table aren&#8217;t the proper methods of database updates because the data stored in the tables will be lost. For example, if I need to add a new column I usually create a new change script with T-SQL:</p>
<p>ALTER TABLE [TableName] ADD [ColumnName] [ColumnDeclarations]</p>
<p>Or, for instance, I need to make some kind of operation through out the table and cursor is required so T-SQL will be more complicated in this case. Not sure that C# style is more suitable than standart T-SQL.</p>
<p>What do you think about all this?</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Maxim Tihobrazov</title>
		<link>http://www.wildbit.com/blog/2008/03/24/database-continuous-integration-in-net/#comment-1450</link>
		<author>Maxim Tihobrazov</author>
		<pubDate>Tue, 25 Mar 2008 11:56:37 +0000</pubDate>
		<guid>http://www.wildbit.com/blog/2008/03/24/database-continuous-integration-in-net/#comment-1450</guid>
					<description>DbRefactor allows adding columns, for example:

AddInt("TableName", "ColumnName"); // Adds an integer column to TableName

and also you still can construct complicated SQL queries if you need - DbRefactor allows to execute plain sql

But It is complicated task to maintain database with DbRefactor if project contains a lot of stored procedures</description>
		<content:encoded><![CDATA[<p>DbRefactor allows adding columns, for example:</p>
<p>AddInt(&#8221;TableName&#8221;, &#8220;ColumnName&#8221;); // Adds an integer column to TableName</p>
<p>and also you still can construct complicated SQL queries if you need - DbRefactor allows to execute plain sql</p>
<p>But It is complicated task to maintain database with DbRefactor if project contains a lot of stored procedures</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: Alexander Kleshchevnikov</title>
		<link>http://www.wildbit.com/blog/2008/03/24/database-continuous-integration-in-net/#comment-1451</link>
		<author>Alexander Kleshchevnikov</author>
		<pubDate>Tue, 25 Mar 2008 15:14:03 +0000</pubDate>
		<guid>http://www.wildbit.com/blog/2008/03/24/database-continuous-integration-in-net/#comment-1451</guid>
					<description>Personally, I think that "migrator approach" that comes from RoR is suitable for projects where data access layer is responsible for creating data access objects itself. So you do not care about a bunch of CRUD procedures, you do not need to create other database structures to store data and you do not need to create lots of T-SQL code. This all will be maintained by DAL methods. So C# code to make upgrade and downgrade will be clean and simple.

In other case if you create manully all the database schema it's much easier to manage it in SQL update scripts.

I would choose Migrator.NET if I used Castle ActiveRecord library for DAL. It fits for this purpose for sure.</description>
		<content:encoded><![CDATA[<p>Personally, I think that &#8220;migrator approach&#8221; that comes from RoR is suitable for projects where data access layer is responsible for creating data access objects itself. So you do not care about a bunch of CRUD procedures, you do not need to create other database structures to store data and you do not need to create lots of T-SQL code. This all will be maintained by DAL methods. So C# code to make upgrade and downgrade will be clean and simple.</p>
<p>In other case if you create manully all the database schema it&#8217;s much easier to manage it in SQL update scripts.</p>
<p>I would choose Migrator.NET if I used Castle ActiveRecord library for DAL. It fits for this purpose for sure.</p>
]]></content:encoded>
				</item>
	<item>
		<title>By: sissi</title>
		<link>http://www.wildbit.com/blog/2008/03/24/database-continuous-integration-in-net/#comment-1495</link>
		<author>sissi</author>
		<pubDate>Tue, 08 Apr 2008 08:38:18 +0000</pubDate>
		<guid>http://www.wildbit.com/blog/2008/03/24/database-continuous-integration-in-net/#comment-1495</guid>
					<description>北京财会学校辅导&lt;a href="http://www.caikepass.com/" rel="nofollow"&gt;注册会计师考试&lt;/a&gt;让你成为一名&lt;a href="http://www.caikepass.com/" rel="nofollow"&gt;注册会计师&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>北京财会学校辅导<a href="http://www.caikepass.com/" rel="nofollow">注册会计师考试</a>让你成为一名<a href="http://www.caikepass.com/" rel="nofollow">注册会计师</a></p>
]]></content:encoded>
				</item>
</channel>
</rss>
