Getting started

Install My EF Vibe via the efvibe CLI, point it at your EF Core project, and run your first query in under five minutes.

Install

Global tool (NuGet)

dotnet tool install --global efvibe
efvibe --version

Local tool (per repository)

dotnet tool restore
dotnet efvibe --version

From source

git clone https://github.com/yeahbah/my-ef-vibe.git
cd my-ef-vibe
dotnet run --project src/MyEfVibe/MyEfVibe.csproj -f net10.0 -- --version

Requirements

First REPL session

From your solution root (where .csproj and DbContext files live):

efvibe

Session artifacts default to ~/.efvibe/<ProjectName>/<DbContextName>/.

At the prompt, try:

db.Products.Count();
:tables
:help

Class library + API (recommended)

When your DbContext lives in a persistence project and connection strings live on the API:

efvibe \
  -w ~/.efvibe \
  -p ./src/MyApp.Persistence/MyApp.Persistence.csproj \
  -s ./src/MyApp.Api/MyApp.Api.csproj \
  -c AppDbContext

AdventureWorks sample

The AdventureWorks repository mirrors this layout:

efvibe \
  -p apps/api-dotnet/src/AdventureWorks.Infrastructure.Persistence/AdventureWorks.Infrastructure.Persistence.csproj \
  -s apps/api-dotnet/src/AdventureWorks.API/AdventureWorks.API.csproj \
  -c AdventureWorksDbContext

One-shot evaluation

efvibe -p ./src/MyApp.Persistence/MyApp.Persistence.csproj \
  -c AppDbContext \
  -e "db.Orders.Count();"

VS Code

Install My EF Vibe from the Visual Studio Marketplace — Extensions → search efvibe (yeahbah.vscode-efvibe) — then install the efvibe CLI (dotnet tool install -g efvibe).

code --install-extension yeahbah.vscode-efvibe

Follow the step-by-step VS Code workflow to configure efvibe.project / efvibe.context, use the efvibe Session sidebar, Run Selection (Shift+Alt+E), and Scan Deep. The extension uses efvibe serve by default for fast re-runs.

Rider

Install My EF Vibe from JetBrains Marketplace (plugin id 31961), then install the efvibe CLI (dotnet tool install -g efvibe).

Follow the step-by-step Rider workflow to configure per-project settings (EF project, startup project, DbContext), use Run Selection, the Model tab, Scan Deep, and notebooks with Code / Result sub-tabs.

Database providers

efvibe discovers the provider from package references on -p. Full tier: SQL Server, PostgreSQL, SQLite, Oracle, MySQL/MariaDB. Generic tier: Firebird and other *.EntityFrameworkCore.* packages. Couchbase async LINQ when Couchbase.EntityFrameworkCore is referenced. See database-providers.md in the tool repo.

Tip: Spell your DbContext name exactly — AdventureWorksDbContext, not AventureWorksDbContext.