Skip to content

Commit 4db0d1d

Browse files
committed
nuget cfg updates and (Web|App).config transformation configs updates
1 parent c9d2ef6 commit 4db0d1d

File tree

5 files changed

+216
-94
lines changed

5 files changed

+216
-94
lines changed

Databasic.All.nuspec

Lines changed: 38 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,41 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
3-
<metadata minClientVersion="2.6">
4-
<id>Databasic</id>
5-
<version>1.2.4.0</version>
6-
<title>Databasic</title>
7-
<authors>Tom Flidr</authors>
8-
<owners>Tom Flidr</owners>
9-
<licenseUrl>https://opensource.org/licenses/BSD-3-Clause</licenseUrl>
10-
<projectUrl>https://github.com/databasic-net</projectUrl>
11-
<iconUrl>https://raw.githubusercontent.com/databasic-net/databasic/master/gfx/databasic-icon.ico</iconUrl>
12-
<language>en-US</language>
13-
<requireLicenseAcceptance>false</requireLicenseAcceptance>
14-
<description>
15-
C#/VB.NET database utility to write pure Microsoft SQL/MySQL/PgSql/Oracle/SQLite queries and load data into environment variables and instances.
16-
This package contains references to all database provider libraries (dll files).
17-
You can use this package as you wish, but if you want to use only a specific database type, install package like: Databasic&#60;DatabaseType&#62;
18-
</description>
19-
<copyright>Copyright © 2017</copyright>
20-
<tags>microsoft sql mssql postgres oracle sqlite tsql mssql database query command select insert update delete dml tool utility</tags>
21-
<dependencies>
22-
<dependency id="Databasic.Core" version="1.2.1.0" />
23-
<dependency id="Databasic.MsSql" version="1.2.1.0" />
24-
<dependency id="Databasic.MySql" version="1.2.1.0" />
25-
<dependency id="Databasic.PostgreSql" version="1.2.1.0" />
26-
<dependency id="Databasic.OracleSql" version="1.2.1.0" />
27-
<dependency id="Databasic.SQLite" version="1.2.1.0" />
28-
<dependency id="Databasic.OdbcSql" version="1.2.1.0" />
29-
<dependency id="Databasic.OleSql" version="1.2.1.0" />
30-
</dependencies>
31-
<releaseNotes>https://github.com/databasic-net/databasic/releases</releaseNotes>
32-
</metadata>
33-
<files>
34-
<file src="content/App.config.install.xdt" target="content/App.config.install.xdt" />
35-
<file src="content/Web.config.install.xdt" target="content/Web.config.install.xdt" />
36-
<file src="content/App.config.uninstall.xdt" target="content/App.config.uninstall.xdt" />
37-
<file src="content/Web.config.uninstall.xdt" target="content/Web.config.uninstall.xdt" />
38-
</files>
3+
<metadata minClientVersion="2.6">
4+
<id>Databasic</id>
5+
<version>1.2.4.0</version>
6+
<title>Databasic - All</title>
7+
<authors>Tom Flidr</authors>
8+
<owners>Tom Flidr</owners>
9+
<licenseUrl>https://opensource.org/licenses/BSD-3-Clause</licenseUrl>
10+
<projectUrl>https://github.com/Databasic-NET</projectUrl>
11+
<iconUrl>https://raw.githubusercontent.com/Databasic-NET/Databasic/master/gfx/databasic-icon.ico</iconUrl>
12+
<language>en-US</language>
13+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
14+
<description>
15+
C#/VB.NET database utility to write pure Microsoft SQL/MySQL/MariaDB/PostgreSql/Oracle/SQLite/ODBC/OLEDB queries with beautifull API,
16+
to load data into environment variables and instances and to execute any pure SQL nonquery.
17+
This is universal package containing references to all Databasic modules and ADO.NET providers.
18+
It's not a mistake to use this universal package, but your application could start a slightly slower to initialize all libraries.
19+
If you want to use only a specific database type, install package like: Databasic&#60;DatabaseType&#62;
20+
</description>
21+
<copyright>Copyright © 2017</copyright>
22+
<tags>microsoft sql mssql tsql mysql mariadb postgresql postgres oracle orcl sqlite odbc ole oledb database query command select insert update delete pure sql dml tool utility library</tags>
23+
<dependencies>
24+
<dependency id="Databasic.Core" version="1.2.4.0" />
25+
<dependency id="Databasic.MsSql" version="1.2.4.0" />
26+
<dependency id="Databasic.MySql" version="1.2.4.0" />
27+
<dependency id="Databasic.PostgreSql" version="1.2.4.0" />
28+
<dependency id="Databasic.OracleSql" version="1.2.4.0" />
29+
<dependency id="Databasic.SQLite" version="1.2.4.0" />
30+
<dependency id="Databasic.OdbcSql" version="1.2.4.0" />
31+
<dependency id="Databasic.OleSql" version="1.2.4.0" />
32+
</dependencies>
33+
<releaseNotes>https://github.com/Databasic-NET/Databasic/releases</releaseNotes>
34+
</metadata>
35+
<files>
36+
<file src="content/App.config.install.xdt" target="content/App.config.install.xdt" />
37+
<file src="content/Web.config.install.xdt" target="content/Web.config.install.xdt" />
38+
<file src="content/App.config.uninstall.xdt" target="content/App.config.uninstall.xdt" />
39+
<file src="content/Web.config.uninstall.xdt" target="content/Web.config.uninstall.xdt" />
40+
</files>
3941
</package>

content/App.config.install.xdt

Lines changed: 45 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,48 @@
11
<?xml version="1.0"?>
22
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
3-
<connectionStrings xdt:Transform="InsertIfMissing">
4-
<clear xdt:Transform="InsertIfMissing" />
5-
<add
6-
name="Databasic.Example.MsSql"
7-
connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=DATABASE_NAME;Persist Security Info=True;User ID=USER_NAME;Password=PASSWORD"
8-
providerName="System.Data.SqlClient"
9-
xdt:Transform="InsertIfMissing"
10-
xdt:Locator="Match(name)" />
11-
<add
12-
name="Databasic.Example.MySql"
13-
connectionString="server=127.0.0.1;uid=USER_NAME;pwd=1234;database=PASSWORD;"
14-
providerName="MySql.Data.MySqlClient"
15-
xdt:Transform="InsertIfMissing"
16-
xdt:Locator="Match(name)" />
17-
</connectionStrings>
3+
<connectionStrings xdt:Transform="InsertIfMissing">
4+
<clear xdt:Transform="InsertIfMissing" />
5+
<add
6+
name="Databasic.Example.MsSql"
7+
connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=DATABASE;User ID=USER_NAME;Password=PASSWORD;Persist Security Info=True;"
8+
providerName="System.Data.SqlClient"
9+
xdt:Transform="InsertIfMissing"
10+
xdt:Locator="Match(name)" />
11+
<add
12+
name="Databasic.Example.MySql"
13+
connectionString="server=localhost;port=3306;uid=USER_NAME;pwd=PASSWORD;database=DATABASE;"
14+
providerName="MySql.Data.MySqlClient"
15+
xdt:Transform="InsertIfMissing"
16+
xdt:Locator="Match(name)" />
17+
<add
18+
name="Databasic.Example.Oracle"
19+
connectionString="Data Source=localhost/orcl;User Id=USER_NAME;Password=PASSWORD;Integrated Security=yes"
20+
providerName="Oracle.DataAccess.Client"
21+
xdt:Transform="InsertIfMissing"
22+
xdt:Locator="Match(name)" />
23+
<add
24+
name="Databasic.Example.PqSql"
25+
connectionString="Server=localhost;Port=5432;Database=DATABASE;User Id=USER_NAME;Password=PASSWORD;"
26+
providerName="Npgsql"
27+
xdt:Transform="InsertIfMissing"
28+
xdt:Locator="Match(name)" />
29+
<add
30+
name="Databasic.Example.SQLite"
31+
connectionString="Data Source=.\sqlite.db;Version=3;Password=PASSWORD;"
32+
providerName="SQLite.Data.SQLite"
33+
xdt:Transform="InsertIfMissing"
34+
xdt:Locator="Match(name)" />
35+
<add
36+
name="Databasic.Example.OdbcSql"
37+
connectionString="Driver={ODBC_DRIVER_NAME};Server=SERVER_HOST;UID=USER_NAME;PWD=PASSWORD;Database=DATABASE"
38+
providerName="System.Data.Odbc"
39+
xdt:Transform="InsertIfMissing"
40+
xdt:Locator="Match(name)" />
41+
<add
42+
name="Databasic.Example.OleSql"
43+
connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\PathToYour\Database.mdb;User Id=admin;Password=1234;"
44+
providerName="System.Data.OleDb"
45+
xdt:Transform="InsertIfMissing"
46+
xdt:Locator="Match(name)" />
47+
</connectionStrings>
1848
</configuration>

content/App.config.uninstall.xdt

Lines changed: 44 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,47 @@
11
<?xml version="1.0"?>
22
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
3-
<connectionStrings>
4-
<add
5-
name="Databasic.Example.MsSql"
6-
connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=DATABASE_NAME;Persist Security Info=True;User ID=USER_NAME;Password=PASSWORD"
7-
providerName="System.Data.SqlClient"
8-
xdt:Transform="Remove"
9-
xdt:Locator="Match(name)" />
10-
<add
11-
name="Databasic.Example.MySql"
12-
connectionString="server=127.0.0.1;uid=USER_NAME;pwd=1234;database=PASSWORD;"
13-
providerName="MySql.Data.MySqlClient"
14-
xdt:Transform="Remove"
15-
xdt:Locator="Match(name)" />
16-
</connectionStrings>
3+
<connectionStrings>
4+
<add
5+
name="Databasic.Example.MsSql"
6+
connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=DATABASE;User ID=USER_NAME;Password=PASSWORD;Persist Security Info=True;"
7+
providerName="System.Data.SqlClient"
8+
xdt:Transform="Remove"
9+
xdt:Locator="Match(name)" />
10+
<add
11+
name="Databasic.Example.MySql"
12+
connectionString="server=localhost;port=3306;uid=USER_NAME;pwd=PASSWORD;database=DATABASE;"
13+
providerName="MySql.Data.MySqlClient"
14+
xdt:Transform="Remove"
15+
xdt:Locator="Match(name)" />
16+
<add
17+
name="Databasic.Example.Oracle"
18+
connectionString="Data Source=localhost/orcl;User Id=USER_NAME;Password=PASSWORD;Integrated Security=yes"
19+
providerName="Oracle.DataAccess.Client"
20+
xdt:Transform="Remove"
21+
xdt:Locator="Match(name)" />
22+
<add
23+
name="Databasic.Example.PqSql"
24+
connectionString="Server=localhost;Port=5432;Database=DATABASE;User Id=USER_NAME;Password=PASSWORD;"
25+
providerName="Npgsql"
26+
xdt:Transform="Remove"
27+
xdt:Locator="Match(name)" />
28+
<add
29+
name="Databasic.Example.SQLite"
30+
connectionString="Data Source=.\sqlite.db;Version=3;Password=PASSWORD;"
31+
providerName="SQLite.Data.SQLite"
32+
xdt:Transform="Remove"
33+
xdt:Locator="Match(name)" />
34+
<add
35+
name="Databasic.Example.OdbcSql"
36+
connectionString="Driver={ODBC_DRIVER_NAME};Server=SERVER_HOST;UID=USER_NAME;PWD=PASSWORD;Database=DATABASE"
37+
providerName="System.Data.Odbc"
38+
xdt:Transform="Remove"
39+
xdt:Locator="Match(name)" />
40+
<add
41+
name="Databasic.Example.OleSql"
42+
connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\PathToYour\Database.mdb;User Id=admin;Password=1234;"
43+
providerName="System.Data.OleDb"
44+
xdt:Transform="Remove"
45+
xdt:Locator="Match(name)" />
46+
</connectionStrings>
1747
</configuration>

content/Web.config.install.xdt

Lines changed: 45 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,48 @@
11
<?xml version="1.0"?>
22
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
3-
<connectionStrings xdt:Transform="InsertIfMissing">
4-
<clear xdt:Transform="InsertIfMissing" />
5-
<add
6-
name="Databasic.Example.MsSql"
7-
connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=DATABASE_NAME;Persist Security Info=True;User ID=USER_NAME;Password=PASSWORD"
8-
providerName="System.Data.SqlClient"
9-
xdt:Transform="InsertIfMissing"
10-
xdt:Locator="Match(name)" />
11-
<add
12-
name="Databasic.Example.MySql"
13-
connectionString="server=127.0.0.1;uid=USER_NAME;pwd=1234;database=PASSWORD;"
14-
providerName="MySql.Data.MySqlClient"
15-
xdt:Transform="InsertIfMissing"
16-
xdt:Locator="Match(name)" />
17-
</connectionStrings>
3+
<connectionStrings xdt:Transform="InsertIfMissing">
4+
<clear xdt:Transform="InsertIfMissing" />
5+
<add
6+
name="Databasic.Example.MsSql"
7+
connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=DATABASE;User ID=USER_NAME;Password=PASSWORD;Persist Security Info=True;"
8+
providerName="System.Data.SqlClient"
9+
xdt:Transform="InsertIfMissing"
10+
xdt:Locator="Match(name)" />
11+
<add
12+
name="Databasic.Example.MySql"
13+
connectionString="server=localhost;port=3306;uid=USER_NAME;pwd=PASSWORD;database=DATABASE;"
14+
providerName="MySql.Data.MySqlClient"
15+
xdt:Transform="InsertIfMissing"
16+
xdt:Locator="Match(name)" />
17+
<add
18+
name="Databasic.Example.Oracle"
19+
connectionString="Data Source=localhost/orcl;User Id=USER_NAME;Password=PASSWORD;Integrated Security=yes"
20+
providerName="Oracle.DataAccess.Client"
21+
xdt:Transform="InsertIfMissing"
22+
xdt:Locator="Match(name)" />
23+
<add
24+
name="Databasic.Example.PqSql"
25+
connectionString="Server=localhost;Port=5432;Database=DATABASE;User Id=USER_NAME;Password=PASSWORD;"
26+
providerName="Npgsql"
27+
xdt:Transform="InsertIfMissing"
28+
xdt:Locator="Match(name)" />
29+
<add
30+
name="Databasic.Example.SQLite"
31+
connectionString="Data Source=.\sqlite.db;Version=3;Password=PASSWORD;"
32+
providerName="SQLite.Data.SQLite"
33+
xdt:Transform="InsertIfMissing"
34+
xdt:Locator="Match(name)" />
35+
<add
36+
name="Databasic.Example.OdbcSql"
37+
connectionString="Driver={ODBC_DRIVER_NAME};Server=SERVER_HOST;UID=USER_NAME;PWD=PASSWORD;Database=DATABASE"
38+
providerName="System.Data.Odbc"
39+
xdt:Transform="InsertIfMissing"
40+
xdt:Locator="Match(name)" />
41+
<add
42+
name="Databasic.Example.OleSql"
43+
connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\PathToYour\Database.mdb;User Id=admin;Password=1234;"
44+
providerName="System.Data.OleDb"
45+
xdt:Transform="InsertIfMissing"
46+
xdt:Locator="Match(name)" />
47+
</connectionStrings>
1848
</configuration>

content/Web.config.uninstall.xdt

Lines changed: 44 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,47 @@
11
<?xml version="1.0"?>
22
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
3-
<connectionStrings>
4-
<add
5-
name="Databasic.Example.MsSql"
6-
connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=DATABASE_NAME;Persist Security Info=True;User ID=USER_NAME;Password=PASSWORD"
7-
providerName="System.Data.SqlClient"
8-
xdt:Transform="Remove"
9-
xdt:Locator="Match(name)" />
10-
<add
11-
name="Databasic.Example.MySql"
12-
connectionString="server=127.0.0.1;uid=USER_NAME;pwd=1234;database=PASSWORD;"
13-
providerName="MySql.Data.MySqlClient"
14-
xdt:Transform="Remove"
15-
xdt:Locator="Match(name)" />
16-
</connectionStrings>
3+
<connectionStrings>
4+
<add
5+
name="Databasic.Example.MsSql"
6+
connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=DATABASE;User ID=USER_NAME;Password=PASSWORD;Persist Security Info=True;"
7+
providerName="System.Data.SqlClient"
8+
xdt:Transform="Remove"
9+
xdt:Locator="Match(name)" />
10+
<add
11+
name="Databasic.Example.MySql"
12+
connectionString="server=localhost;port=3306;uid=USER_NAME;pwd=PASSWORD;database=DATABASE;"
13+
providerName="MySql.Data.MySqlClient"
14+
xdt:Transform="Remove"
15+
xdt:Locator="Match(name)" />
16+
<add
17+
name="Databasic.Example.Oracle"
18+
connectionString="Data Source=localhost/orcl;User Id=USER_NAME;Password=PASSWORD;Integrated Security=yes"
19+
providerName="Oracle.DataAccess.Client"
20+
xdt:Transform="Remove"
21+
xdt:Locator="Match(name)" />
22+
<add
23+
name="Databasic.Example.PqSql"
24+
connectionString="Server=localhost;Port=5432;Database=DATABASE;User Id=USER_NAME;Password=PASSWORD;"
25+
providerName="Npgsql"
26+
xdt:Transform="Remove"
27+
xdt:Locator="Match(name)" />
28+
<add
29+
name="Databasic.Example.SQLite"
30+
connectionString="Data Source=.\sqlite.db;Version=3;Password=PASSWORD;"
31+
providerName="SQLite.Data.SQLite"
32+
xdt:Transform="Remove"
33+
xdt:Locator="Match(name)" />
34+
<add
35+
name="Databasic.Example.OdbcSql"
36+
connectionString="Driver={ODBC_DRIVER_NAME};Server=SERVER_HOST;UID=USER_NAME;PWD=PASSWORD;Database=DATABASE"
37+
providerName="System.Data.Odbc"
38+
xdt:Transform="Remove"
39+
xdt:Locator="Match(name)" />
40+
<add
41+
name="Databasic.Example.OleSql"
42+
connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\PathToYour\Database.mdb;User Id=admin;Password=1234;"
43+
providerName="System.Data.OleDb"
44+
xdt:Transform="Remove"
45+
xdt:Locator="Match(name)" />
46+
</connectionStrings>
1747
</configuration>

0 commit comments

Comments
 (0)