Skip to content

Commit

Permalink
fix examples in *.config
Browse files Browse the repository at this point in the history
  • Loading branch information
max-ieremenko committed May 5, 2018
1 parent 998e64a commit 453f0f6
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Examples/ConfigurationFile/SqlDatabase.exe.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
default setCurrentVersion: EXEC sys.sp_updateextendedproperty @name=N'version', @value=N'{{TargetVersion}}'
-->
<sqlDatabase getCurrentVersion="SELECT Version FROM info.Version"
setCurrentVersion="UPDATE info.Version SET Version='{{CurrentVersion}}'"/>
setCurrentVersion="UPDATE info.Version SET Version='{{TargetVersion}}'"/>

<startup>
<supportedRuntime version="v4.0"
Expand Down
17 changes: 14 additions & 3 deletions Sources/SqlDatabase/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,21 @@
type="SqlDatabase.Configuration.AppConfiguration, SqlDatabase"/>
</configSections>

<!--<sqlDatabase getCurrentVersion="SELECT Version FROM info.Version WHERE Module='{{Module}}'"
setCurrentVersion="UPDATE info.Version SET Version='{{CurrentVersion}}' WHERE Module='{{Module}}'"/>-->
<!--
default scripts to read and update database version
<startup>
<sqlDatabase getCurrentVersion="SELECT value from sys.fn_listextendedproperty('version', default, default, default, default, default, default)"
setCurrentVersion="EXEC sys.sp_updateextendedproperty @name=N'version', @value=N'{{TargetVersion}}''"/>
-->

<!--
scripts example to read and update database version
<sqlDatabase getCurrentVersion="SELECT Version FROM info.Version"
setCurrentVersion="UPDATE info.Version SET Version='{{TargetVersion}}'"/>
-->

<startup>
<supportedRuntime version="v4.0"
sku=".NETFramework,Version=v4.5.2" />
</startup>
Expand Down
4 changes: 2 additions & 2 deletions Sources/SqlDatabase/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
[assembly: ComVisible(false)]
[assembly: Guid("5ee10884-32f2-443b-b136-66e9a1a3c393")]

[assembly: AssemblyVersion("1.3.1.0")]
[assembly: AssemblyFileVersion("1.3.1.0")]
[assembly: AssemblyVersion("1.3.2.0")]
[assembly: AssemblyFileVersion("1.3.2.0")]

[assembly: InternalsVisibleTo("SqlDatabase.Test, PublicKey=002400000480000094000000060200000024000052534131000400000100010055AB0DC1F8A24FB41E7358B65A606EC92141F1ABAFBFF062635AB5FAEB22308CFFBC8B54F3436694F14F6FD6C145D4F16C13A3E739FFCA837902BB78E2D51B890D964CC7384C2CC6B844AE37323F501F29E3EDC2DFADA82C99F5FBB5197ED757D795C2E5408DCB3FBAF9DDDF39E60B137ED0A23603A361EA811E6ADB605DFECC")]

0 comments on commit 453f0f6

Please sign in to comment.