bricelam / EFCore.VisualStudio

Entity Framework Core Tools for Visual Studio
3 stars 0 forks source link

EF fiddle #10

Closed natemcmaster closed 6 years ago

natemcmaster commented 8 years ago

Create a design-time webpage that users could use to play with EF.

Usage

public class Startup
{
     public void Configure(IAppBuilder app)
     {
          app.UseEntityFrameworkFiddle("/ef-fiddle");
     }
}

Creates a web page at /ef-fiddle where users can play around with an instance of DbContext.

Possible results we could visualize:

presentation1

Code editor could stub out a "playground"

public FiddleResult Do(MyDbContext db)
{
     return FiddleResult.ShowQueryPlan(db => db.Blogs.Where( b=>b.Name == "Web"));
}
ErikEJ commented 6 years ago

Possible in LinqPad...

natemcmaster commented 6 years ago

This issue is stale. I have no plans to build something like this.

bricelam commented 6 years ago

😄 This repo is stale