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
1313
1414 Public Overrides ReadOnly Property ProviderResource As System.Type = GetType (ProviderResource)
1515
16- Public Overrides ReadOnly Property ClientName As String = "MySql .Data.MySqlClient "
16+ Public Overrides ReadOnly Property ClientName As String = "System .Data.Odbc "
1717
18- Public Overrides ReadOnly Property Statement As System.Type = GetType (Statement)
18+ Public Overrides ReadOnly Property Statement As System.Type = GetType (Statement)
1919
2020 Public Overrides Sub Open(dsn As String )
2121 Me ._provider = New OdbcConnection(dsn)
Original file line number Diff line number Diff line change 22<package xmlns =" http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd" >
33 <metadata minClientVersion =" 2.6" >
44 <id >Databasic.ODBC</id >
5- <version >1.1 .0.0</version >
5+ <version >1.2 .0.0</version >
66 <title >Databasic - ODBC Package</title >
77 <authors >Tom Flidr</authors >
88 <owners >Tom Flidr</owners >
2020 <!-- dependency id="System" version="4.0.0.0" />
2121 <dependency id="System.Core" version="4.0.0.0" />
2222 <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" />
2424 </dependencies >
2525 <releaseNotes >https://github.com/databasic-net/databasic/releases</releaseNotes >
2626 </metadata >
Original file line number Diff line number Diff line change 8888 </EmbeddedResource >
8989 </ItemGroup >
9090 <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" />
9195 <None Include =" Databasic.ODBC.nuspec" />
9296 <None Include =" My Project\Application.myapp" >
9397 <Generator >MyApplicationCodeGenerator</Generator >
Original file line number Diff line number Diff line change @@ -34,5 +34,5 @@ Imports System.Runtime.InteropServices
3434' by using the '*' as shown below:
3535' <Assembly: AssemblyVersion("1.0.*")>
3636
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