ErikEJ / EFCorePowerTools

Entity Framework Core Power Tools - reverse engineering, migrations and model visualization in Visual Studio & CLI
MIT License
2.11k stars 292 forks source link

Not working properly #97

Closed ghost closed 5 years ago

ghost commented 5 years ago

Only reverse engineer, view database schema as Graph and Add AsDgml() method are normal.

Migrations Tools(preview): default

Add DbContext Model DiagramViewDbContext Model DDL SQL and View DbContext Model as DebugView : Parameter error. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

Steps to reproduce

Further technical details

Version 1.0.653.0

SQL Server Compact 4.0 in GAC - No SQL Server Compact 4.0 DbProvider - No

SQL Server Compact 4.0 DDEX provider - No SQL Server Compact 4.0 Simple DDEX provider - Yes

SQLite ADO.NET Provider included: 1.0.107.0 SQLite EF6 DbProvider in GAC - No

System.Data.SQLite DDEX provider - No SQLite Simple DDEX provider - Yes

EF Core Power Tools version: (1.0.653.0)

Database engine: (SQL Server)

Visual Studio version: (Visual Studio 2017 15.8.5)

ErikEJ commented 5 years ago

Have you tried the latest daily build?

ghost commented 5 years ago

Yes, this is

ErikEJ commented 5 years ago

Wonder if it is the non-latin characters? I will try to repro later today

ErikEJ commented 5 years ago

Files were missing in the VSIX package - fixed in the latest daily build (.654)

ghost commented 5 years ago

The latest build is available, but when I remove the connection string from the DbContext class I get the following error:

No Valid DbContext classes found in the current project

ErikEJ commented 5 years ago

@TheForgetTime That is by design, EF Core cannot create a DbContext without it.