Skip to content

Commit

Permalink
fix .dacpac provider detection
Browse files Browse the repository at this point in the history
fixes #1927
  • Loading branch information
ErikEJ committed Sep 1, 2023
1 parent 620a7a0 commit 118a828
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GUI/RevEng.Core.60/ConnectionStringResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public ConnectionStringResolver(string connectionString)
if (connectionString.EndsWith(".dacpac", StringComparison.OrdinalIgnoreCase))
{
var database = Path.GetFileNameWithoutExtension(connectionString);
this.connectionString = $"Data Source=(local);Initial Catalog={database};Integrated Security=true";
this.connectionString = $"Data Source=(local);Initial Catalog={database};Integrated Security=true;Encrypt=false";
}
}

Expand Down Expand Up @@ -92,7 +92,7 @@ public IList<string> ResolveAlias()
try
{
var a = new FbConnectionStringBuilder(connectionString);
aliases.Add("oracle");
aliases.Add("firebird");
}
catch
{
Expand Down

0 comments on commit 118a828

Please sign in to comment.