Skip to content

Commit

Permalink
fixes #2018
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikEJ committed Nov 25, 2023
1 parent 84ff987 commit 60040d5
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/GUI/Shared/Handlers/ServerDgmlHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public async Task GenerateAsync()
{
var vsDataHelper = new VsDataHelper();
var databaseList = await vsDataHelper.GetDataConnectionsAsync(package);
var dacpacList = await SqlProjHelper.GetDacpacFilesInActiveSolutionAsync();

var psd = package.GetView<IPickServerDatabaseDialog>();

Expand All @@ -76,15 +75,6 @@ public async Task GenerateAsync()
}));
}

if (dacpacList != null && dacpacList.Any())
{
psd.PublishDefinitions(dacpacList.Select(m => new DatabaseConnectionModel
{
FilePath = m,
DatabaseType = DatabaseType.SQLServerDacpac,
}));
}

psd.PublishCodeGenerationMode(CodeGenerationMode.EFCore6, new List<CodeGenerationItem>());

var pickDataSourceResult = psd.ShowAndAwaitUserResponse(true);
Expand Down

0 comments on commit 60040d5

Please sign in to comment.