Click here to Skip to main content
15,895,667 members
Articles / Database Development / SQL Server

.NET Installer that Automatically Installs SQL 2005 Express

Rate me:
Please Sign up or sign in to vote.
4.77/5 (23 votes)
28 Jul 2008GPL35 min read 154K   6.2K   133  
This project enables developer to create a setup package that automatically installs SQL 2005 Express and restores database to it
										#region HeaderDetailModuleExtend
										public void ModifyFillerHeaderDetail{Detail}ToHeader({Header}Entity _header)
										{
											Filler.AddColumnValueCustomReplaceByFiller({HeaderParamValueList}, {DetailParamValueList}, _header.Filler);
										}
										
										public long InsertHeaderDetail{Detail}IdentityToHeader({Header}Entity _header)
										{
											ModifyFillerHeaderDetail{Detail}ToHeader(_header);
											
											return InsertIdentity();
										}
										
										public int InsertHeaderDetail{Detail}ToHeader({Header}Entity _header)
										{
											ModifyFillerHeaderDetail{Detail}ToHeader(_header);
										
											return Insert();
										}
										
										public int UpdateHeaderDetail{Detail}ToHeader({Header}Entity _header)
										{
											ModifyFillerHeaderDetail{Detail}ToHeader(_header);
										
											return Update();
										}
										#endregion

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


Written By
Software Developer (Senior)
Singapore Singapore
I write code mostly in C#, VB.NET, PHP and Assembly.

Comments and Discussions