Skip to content

Commit 96e4f9d

Browse files
authored
Remove Db2 support due to huge payload (81 MB) (#3240)
* Revert "Hosathota/master (#3237)" This reverts commit c3a6c69. * Revert "Fix count (#3238)" This reverts commit 0026490.
1 parent 0026490 commit 96e4f9d

File tree

13 files changed

+6
-58
lines changed

13 files changed

+6
-58
lines changed

.github/workflows/vsix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
mkdir vsix
7373
7z x src/GUI/lib/efreveng90.exe.zip -oefreveng90 -y
7474
dir /a:-d /s /b "efreveng90" | find /c ":\" > filecount.txt
75-
findstr "170" filecount.txt
75+
findstr "166" filecount.txt
7676
7777
- name: Extract and verify efreveng100.exe.zip file count
7878
if: github.event_name != 'pull_request'

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# EF Core Power Tools
22

3-
Reverse engineering and model visualization tools for EF Core in Visual Studio - and reverse engineering from command line.
3+
Reverse engineering and model visualization tools for EF Core in Visual Studio 2022 - and reverse engineering from command line.
44

55
Aims to lower the bar for getting started with EF Core, by providing GUI based assistance with reverse engineering of an existing database and visualizing your DbContext model.
66

77
[![Visual Studio Marketplace Rating](https://img.shields.io/visual-studio-marketplace/r/ErikEJ.EFCorePowerTools)](https://marketplace.visualstudio.com/items?itemName=ErikEJ.EFCorePowerTools&ssr=false#review-details)
88
[![Visual Studio Marketplace Downloads](https://img.shields.io/visual-studio-marketplace/i/ErikEJ.EFCorePowerTools)](https://marketplace.visualstudio.com/items?itemName=ErikEJ.EFCorePowerTools&ssr=false#review-details)
9-
[![Twitter Follow](https://img.shields.io/twitter/follow/ErikEJ.svg?style=social&label=Follow)](https://twitter.com/ErikEJ)
9+
[![Twitter Follow](https://img.shields.io/twitter/follow/ErikEJ.svg?style=social&label=Follow)](https://twitter.com/ErikEJ)
1010

1111
[Quick Start and 10 minute intro video](https://github.com/ErikEJ/EFCorePowerTools/wiki/Reverse-Engineering-Quick-Start)
1212

src/Core/RevEng.Core.80/RevEng.Core.80.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
<ItemGroup>
1616
<PackageReference Include="Bricelam.EntityFrameworkCore.Pluralizer" Version="1.0.0" />
1717
<PackageReference Include="EFCore.Snowflake" Version="8.0.8" />
18-
<PackageReference Include="IBM.EntityFrameworkCore" Version="8.0.0.400" />
1918
<PackageReference Include="EntityFrameworkCore.Scaffolding.Handlebars" Version="8.0.0" />
2019
<PackageReference Include="EntityFrameworkCore.Sqlite.NodaTime" Version="8.0.1" />
2120
<PackageReference Include="FirebirdSql.EntityFrameworkCore.Firebird" Version="11.0.0" />

src/Core/RevEng.Core.80/ServiceProviderBuilder.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
using Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal;
2828
using Oracle.EntityFrameworkCore.Design.Internal;
2929
#if !CORE100
30-
using IBM.EntityFrameworkCore.Design.Internal;
3130
using Pomelo.EntityFrameworkCore.MySql.Design.Internal;
3231
#endif
3332
using RevEng.Common;
@@ -161,10 +160,6 @@ public static IServiceCollection AddEfpt(this IServiceCollection serviceCollecti
161160
var snowflakeProvider = new SnowflakeDesignTimeServices();
162161
snowflakeProvider.ConfigureDesignTimeServices(serviceCollection);
163162
break;
164-
case DatabaseType.Db2:
165-
var db2Provider = new Db2DesignTimeServices();
166-
db2Provider.ConfigureDesignTimeServices(serviceCollection);
167-
break;
168163
#endif
169164

170165
case DatabaseType.SQLite:

src/Core/RevEng.Core.90/RevEng.Core.90.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727

2828
<ItemGroup>
2929
<PackageReference Include="Bricelam.EntityFrameworkCore.Pluralizer" Version="1.0.0" />
30-
<PackageReference Include="IBM.EntityFrameworkCore" Version="9.0.0.400" />
3130
<PackageReference Include="EFCore.Snowflake" Version="9.0.9" />
3231
<PackageReference Include="EntityFrameworkCore.Scaffolding.Handlebars" Version="9.0.0" />
3332
<PackageReference Include="EntityFrameworkCore.Sqlite.NodaTime" Version="9.2.1" />

src/Core/efreveng80/BuildCmdlineTool.cmd

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ rd bin\Release\net8.0\x64\publish\runtimes\android-arm /Q /S
1616
rd bin\Release\net8.0\x64\publish\runtimes\android-arm64 /Q /S
1717
rd bin\Release\net8.0\x64\publish\runtimes\android-x64 /Q /S
1818
rd bin\Release\net8.0\x64\publish\runtimes\android-x86 /Q /S
19-
rd bin\Release\net8.0\x64\publish\runtimes\browser /Q /S
2019
rd bin\Release\net8.0\x64\publish\runtimes\browser-wasm /Q /S
2120
rd bin\Release\net8.0\x64\publish\runtimes\linux /Q /S
2221
rd bin\Release\net8.0\x64\publish\runtimes\linux-arm /Q /S
@@ -46,9 +45,6 @@ rd bin\Release\net8.0\x64\publish\runtimes\unix /Q /S
4645
rd bin\Release\net8.0\x64\publish\runtimes\win-arm /Q /S
4746
rd bin\Release\net8.0\x64\publish\runtimes\win-x86 /Q /S
4847

49-
rd bin\Release\net8.0\x64\publish\es /Q /S
50-
rd bin\Release\net8.0\x64\publish\clidriver /Q /S
51-
5248
"C:\Program Files\7-Zip\7z.exe" -mm=Deflate -mfb=258 -mpass=15 a efreveng80.exe.zip .\bin\Release\net8.0\x64\publish\*
5349

5450
move /Y efreveng80.exe.zip ..\..\GUI\lib\

src/Core/efreveng90/BuildCmdlineTool.cmd

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ rd bin\Release\net8.0\x64\publish\runtimes\unix /Q /S
4747
rd bin\Release\net8.0\x64\publish\runtimes\win-arm /Q /S
4848
rd bin\Release\net8.0\x64\publish\runtimes\win-x86 /Q /S
4949

50-
rd bin\Release\net8.0\x64\publish\es /Q /S
51-
rd bin\Release\net8.0\x64\publish\clidriver /Q /S
52-
5350
"C:\Program Files\7-Zip\7z.exe" -mm=Deflate -mfb=258 -mpass=15 a efreveng90.exe.zip .\bin\Release\net8.0\x64\publish\*
5451

5552
move /Y efreveng90.exe.zip ..\..\GUI\lib\

src/GUI/EFCorePowerTools/Dialogs/ConnectionDialog.xaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<dw:DialogWindow x:Class="EFCorePowerTools.Dialogs.ConnectionDialog"
1+
<dw:DialogWindow x:Class="EFCorePowerTools.Dialogs.ConnectionDialog"
22
xmlns:dw="clr-namespace:Microsoft.VisualStudio.PlatformUI;assembly=Microsoft.VisualStudio.Shell.15.0"
33
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -41,7 +41,6 @@
4141
SelectedValuePath="Tag" Grid.Row="3" Margin="12,2" Width="136" HorizontalAlignment="Left" >
4242
<ComboBoxItem Tag="6" >MySQL</ComboBoxItem>
4343
<ComboBoxItem Tag="11" >Snowflake</ComboBoxItem>
44-
<ComboBoxItem Tag="12" >Db2</ComboBoxItem>
4544
</ComboBox>
4645

4746
</Grid>

src/GUI/EFCorePowerTools/Dialogs/ConnectionDialog.xaml.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Globalization;
33
using System.Windows.Controls;
44
using EFCorePowerTools.Common.Models;
@@ -63,9 +63,6 @@ private void CmdDatabaseType_SelectionChanged(object sender, System.Windows.Cont
6363
case DatabaseType.Snowflake:
6464
txtSample.Text = "ACCOUNT=<accountid>;DB=MYDATABASE;SCHEMA=MYSCHEMA;USER=MYUSERNAME;PASSWORD=myPassword";
6565
break;
66-
case DatabaseType.Db2:
67-
txtSample.Text = "Server=myServerAddress:<portnumber>;Database=myDataBase;Uid=myUsername;Pwd=myPassword;";
68-
break;
6966

7067
default:
7168
break;

src/GUI/RevEng.Shared/DatabaseType.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ReSharper disable InconsistentNaming
1+
// ReSharper disable InconsistentNaming
22
namespace RevEng.Common
33
{
44
public enum DatabaseType
@@ -12,6 +12,5 @@ public enum DatabaseType
1212
SQLServerDacpac = 8,
1313
Firebird = 10,
1414
Snowflake = 11,
15-
Db2 = 12,
1615
}
1716
}

0 commit comments

Comments
 (0)