Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>SchemawiseNew to Visual Studio Code? Get it now.
Schemawise

Schemawise

Preview

EF Lens

|
1 install
| (0) | Free
EF Core superpowers for VS Code: explore your EF Core model, detect schema drift against SQL Server and PostgreSQL, and understand migration risks before you apply them. 100% local.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Schemawise

EF Core superpowers for VS Code. Navigate. Compare. Migrate safely.

Schemawise shows you what EF Core really does with your model, compares it with your real database, and tells you what a migration can break before you apply it.

100% local. No source code, connection string, schema or data ever leaves your machine. No account, no telemetry.

EF Model view next to the entity's source

Features

Explore the EF Core model

Schemawise: Analyze Workspace finds your .NET projects, their EF Core version, provider and DbContexts. Expand a DbContext in the EF Model view to see the effective model, as EF Core builds it (conventions, fluent configuration and attributes included):

  • entities → tables (and schemas), properties → columns and store types;
  • keys, foreign keys, indexes, owned and complex types, shadow properties;
  • click an entity or a property to jump to its source.

The model comes from EF Core itself, by loading your compiled project like dotnet ef does. Schemawise does not guess by parsing C#.

Detect schema drift

Add a SQL Server or PostgreSQL connection in the Databases view, then run Compare Model with Database (or use the button on a DbContext). The Schema Drift view lists what differs, grouped by severity, each with an explanation:

missing or extra tables and columns · store types · max length · precision and scale · nullability · primary keys · indexes.

Schemawise only reads schema metadata (never table data) and never changes the database.

Understand migration risks

Click a migration in the EF Model view, or run Schemawise: Inspect Migration. The Migration Risks view lists every operation of the migration with its risk level, what can go wrong and how to avoid it:

Level Examples
Critical Drop table
High Drop column, shrink a column, reduce precision, change a type, make a column required without default
Medium Add a required column, create a unique index, rename, custom SQL, add a foreign key
Safe Add a nullable column, create a table

Choose a database marked Production as the target and Schemawise adds a warning banner. Schemawise never runs migrations.

Migration Risks view

Requirements

  • The .NET 8 runtime (or later) to run Schemawise.
  • The .NET SDK your projects need, to build and analyse them.
  • Tested with EF Core 8 and 9; database features support SQL Server and PostgreSQL.

Schemawise builds your projects to read their model, which runs code from the workspace. It is therefore disabled in untrusted workspaces (Restricted Mode).

Commands

Command What it does
Schemawise: Analyze Workspace Find projects, DbContexts and migrations
Schemawise: Compare Model with Database Schema drift between a DbContext and a database
Schemawise: Inspect Migration Risks of a migration, before applying it
Schemawise: Add Database Connection Save a connection (string kept in VS Code Secret Storage)
Schemawise: Copy Diagnostics Copy a report for a bug report (no code, secrets or paths)
Schemawise: Show Logs Open the Schemawise output channel

Settings

Setting Purpose
eflens.dotnetPath dotnet executable to use (default: from PATH)
eflens.hostLogLevel Log verbosity: debug, info, warning, error

Privacy and security

  • Connection strings are stored in VS Code Secret Storage and only passed to the local Schemawise process; they are redacted from every log and error message.
  • Database access is read-only metadata (catalog views); Schemawise issues no INSERT, UPDATE, DELETE or DDL.
  • Schemawise itself makes no network calls other than to the databases you configure. (The dotnet build it runs may restore NuGet packages, exactly as when you build yourself.)

Reporting a problem

Run Schemawise: Copy Diagnostics and paste the report into your issue, together with what you expected. The report contains versions, statuses and diagnostic codes only.

Preview: feedback on false positives (drift or migration risks reported wrongly) is the most useful thing you can send.

License

Schemawise is proprietary software, free to use during the preview. See LICENSE.txt and THIRD-PARTY-NOTICES.txt.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft