File tree Expand file tree Collapse file tree 8 files changed +56
-6
lines changed Expand file tree Collapse file tree 8 files changed +56
-6
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ Public Class Connection
13
13
14
14
Public Overrides ReadOnly Property ProviderResource As System.Type = GetType (ProviderResource)
15
15
16
- Public Overrides ReadOnly Property ClientName As String = "MySql .Data.MySqlClient "
16
+ Public Overrides ReadOnly Property ClientName As String = "System .Data.Odbc "
17
17
18
- Public Overrides ReadOnly Property Statement As System.Type = GetType (Statement)
18
+ Public Overrides ReadOnly Property Statement As System.Type = GetType (Statement)
19
19
20
20
Public Overrides Sub Open(dsn As String )
21
21
Me ._provider = New OdbcConnection(dsn)
Original file line number Diff line number Diff line change 2
2
<package xmlns =" http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd" >
3
3
<metadata minClientVersion =" 2.6" >
4
4
<id >Databasic.ODBC</id >
5
- <version >1.1 .0.0</version >
5
+ <version >1.2 .0.0</version >
6
6
<title >Databasic - ODBC Package</title >
7
7
<authors >Tom Flidr</authors >
8
8
<owners >Tom Flidr</owners >
20
20
<!-- dependency id="System" version="4.0.0.0" />
21
21
<dependency id="System.Core" version="4.0.0.0" />
22
22
<dependency id="System.Data" version="4.0.0.0" /-->
23
- <dependency id =" Databasic.Core" version =" 1.1 .0.0" />
23
+ <dependency id =" Databasic.Core" version =" 1.2 .0.0" />
24
24
</dependencies >
25
25
<releaseNotes >https://github.com/databasic-net/databasic/releases</releaseNotes >
26
26
</metadata >
Original file line number Diff line number Diff line change 88
88
</EmbeddedResource >
89
89
</ItemGroup >
90
90
<ItemGroup >
91
+ <None Include =" content\App.config.install.xdt" />
92
+ <None Include =" content\App.config.uninstall.xdt" />
93
+ <None Include =" content\Web.config.install.xdt" />
94
+ <None Include =" content\Web.config.uninstall.xdt" />
91
95
<None Include =" Databasic.ODBC.nuspec" />
92
96
<None Include =" My Project\Application.myapp" >
93
97
<Generator >MyApplicationCodeGenerator</Generator >
Original file line number Diff line number Diff line change @@ -34,5 +34,5 @@ Imports System.Runtime.InteropServices
34
34
' by using the '*' as shown below:
35
35
' <Assembly: AssemblyVersion("1.0.*")>
36
36
37
- < Assembly : AssemblyVersion( "1.1 .0.0" )>
38
- < Assembly : AssemblyFileVersion( "1.1 .0.0" )>
37
+ < Assembly : AssemblyVersion( "1.2 .0.0" )>
38
+ < Assembly : AssemblyFileVersion( "1.2 .0.0" )>
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <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.ODBC"
7
+ connectionString =" Driver={ODBC_DRIVER_NAME};Server=SERVER_HOST;UID=USER_NAME;PWD=PASSWORD;Database=DATABASE"
8
+ providerName =" System.Data.Odbc"
9
+ xdt : Transform =" InsertIfMissing"
10
+ xdt : Locator =" Match(name)" />
11
+ </connectionStrings >
12
+ </configuration >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <configuration xmlns : xdt =" http://schemas.microsoft.com/XML-Document-Transform" >
3
+ <connectionStrings >
4
+ <add
5
+ name =" Databasic.Example.ODBC"
6
+ connectionString =" Driver={ODBC_DRIVER_NAME};Server=SERVER_HOST;UID=USER_NAME;PWD=PASSWORD;Database=DATABASE"
7
+ providerName =" System.Data.Odbc"
8
+ xdt : Transform =" Remove"
9
+ xdt : Locator =" Match(name)" />
10
+ </connectionStrings >
11
+ </configuration >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <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.ODBC"
7
+ connectionString =" Driver={ODBC_DRIVER_NAME};Server=SERVER_HOST;UID=USER_NAME;PWD=PASSWORD;Database=DATABASE"
8
+ providerName =" System.Data.Odbc"
9
+ xdt : Transform =" InsertIfMissing"
10
+ xdt : Locator =" Match(name)" />
11
+ </connectionStrings >
12
+ </configuration >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <configuration xmlns : xdt =" http://schemas.microsoft.com/XML-Document-Transform" >
3
+ <connectionStrings >
4
+ <add
5
+ name =" Databasic.Example.ODBC"
6
+ connectionString =" Driver={ODBC_DRIVER_NAME};Server=SERVER_HOST;UID=USER_NAME;PWD=PASSWORD;Database=DATABASE"
7
+ providerName =" System.Data.Odbc"
8
+ xdt : Transform =" Remove"
9
+ xdt : Locator =" Match(name)" />
10
+ </connectionStrings >
11
+ </configuration >
You can’t perform that action at this time.
0 commit comments