lynMarkdigRenderTest94 1.0.0
dotnet add package lynMarkdigRenderTest94 --version 1.0.0
NuGet\Install-Package lynMarkdigRenderTest94 -Version 1.0.0
<PackageReference Include="lynMarkdigRenderTest94" Version="1.0.0" />
paket add lynMarkdigRenderTest94 --version 1.0.0
#r "nuget: lynMarkdigRenderTest94, 1.0.0"
// Install lynMarkdigRenderTest94 as a Cake Addin #addin nuget:?package=lynMarkdigRenderTest94&version=1.0.0 // Install lynMarkdigRenderTest94 as a Cake Tool #tool nuget:?package=lynMarkdigRenderTest94&version=1.0.0
DB Patch Manager
Database development tool for change control.
SQL Server plugin requires SMO v11 SQL2012SP1 x86 https://www.microsoft.com/en-us/download/details.aspx?id=35580 Install SQLSysClrTypes.msi and SharedManagementObjects.msi x86 versions.
Create new db project
PS C:\MyProject> .\dbpatch.exe init --dbtype "Ormico.DbPatchManager.SqlServer.dll, Ormico.DbPatchManager.SqlServer.SqlDatabase"
This will create a new project file named patches.json
and initilize it to the SQL Server plugin.
Create a new file named patches.local.json
When you are a adding files to source control, do not add this file. Open this file in a text editor and add your connecton string something like:
{
"ConnectionString": "Server=.;Database=TestDatabase;Trusted_Connection=True;"
}
Each developer would enter their local connection string. When deploying, you would enter the production server's connection string.
Add a database patch
PS C:\MyProject> .\dbpatch.exe addpatch --name TestPatch
Creates a folder for the patch in C:\MyProject\Patches\
and adds the patch to the patches.json file. The folder is named using a date time string and a random number and the name. For example something like 201708011412-2403-testpatch
. User can place .sql files in the patch folder and they will be run when the patch is applied. If the user includes more than one patch file, they are run in alphabetical order.
Add a database code item
Code items are database items that are applied on each build instead of only once like patches. Typically code items are Stored Procedures, Functions, Views, and Triggers.
To add a new stored procedure create a file in the code
folder. The new file can be named whatever you want and follow whatever naming scheme you want, but the file extension must the code file type. So a stored procedure must file extension must be .sproc.sql For example, you could name it myFunct.sproc.sql
By default, you can also use the file extensions .sproc2.sql or .sproc3.sql if other stored procedures depends on other stored procedures and you want to make sure those stored procedures load first.
The default list of code file extensions and the order they load is:
- .view.sql - View
- .udf.sql - User Defined Function
- .view2.sql - View
- .udf2.sql - User Defined Function
- .view3.sql - View
- .udf3.sql - User Defined Function
- .sproc.sql - Stored Procedure
- .sproc2.sql - Stored Procedure
- .sproc3.sql - Stored Procedure
- .trigger.sql - Trigger
- .trigger2.sql - Trigger
- .trigger3.sql - Trigger
Build Database
PS C:\MyProject> .\dbpatch.exe build
Applies all missing patches and runs all code files.
In SQL Server, installed patches are tracked in the a table named InstalledPatches which is added automaticly if it doesn't exist.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 0 | 11/24/2020 |