首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > ASP > datadude做对

datadude做对

  • 资源大小:2.39 MB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: sql database schema upgrade deployment

资 源 简 介

DbUp is an opinionated library for deploying and upgrading SQL server database schemas [the right way](http://www.paulstovell.com/database-deployment). Getting started DbUp ships as a .NET assembly that you reference from WPF, Windows Forms, ASP.NET or Console applications. You can use it to programmatically deploy your database. Start with a fresh Visual Studio Console Application project, and reference DbUp.dll. Add some SQL scripts, using numbers to put them in the right order: Add the following code to Program.cs execute your scripts: ``` //Basic configuration:- //This configuration assumes: // * you are using SQL Server // * want to log to the Console var upgrader = new DatabaseUpgrader( Settings.Default.MyDbConnectionStrin

文 件 列 表

src
BreakingChanges.txt
DbUp.5.0.ReSharper.user
DbUp.5.1.ReSharper
DbUp.6.0.ReSharper
DbUp.Console
app.config
DbUp.sln
DbUp.Specification
Concerning
AttemptingToUpgradeAnUptoDateDatabase.cs
DbUp.suo
DbUp
ConsoleLog.cs
Information
SolutionInfo.cs
nuget.config
Samples
SampleApplication
Program.cs
_ReSharper.DbUp
BuildScriptCache
.crc
7735c7c2.dat
7735c7c2.dat
lib
35
NSubstitute.dll
NUnit.2.5.9.10348
lib
nunit.framework.dll
NSubstitute.1.0.0.0
NSubstitute.1.0.0.0
VIP VIP
0.699324s