Jenny

Jenny needs a little help from you, like where your DbContext lives and what it’s called.

You put that info in an Adapter file which is simple C# in a config project.

In the GitHub repo, there are examples for EF6 running on the .NET Framework, EF6 running on .NET Core, and EF Core running on .NET 6

  • JennyDemo/JennyDemo.Config.EF6.Framework/Adapter.cs
  • JennyDemo/JennyDemo.Config.EF6.Core/Adapter.cs
  • JennyDemo/JennyDemo.Config.EFCore/Adapter.cs

Building Jenny.sln puts the executables in

  • JennyDemo/.jenny

There’s also a Visual Studio Extension to help you run Jenny

It is part of Jenny.sln and the installer is here

  • Jenny.Vsix/bin/Release/Jenny2022x64.vsix

When you install it, you can right-click one of the config projects in JennyDemo and choose Run Jenny

Jenny will then work her magic, extract the metadata from the DbContext and run the Generator

All that’s left to do is include the generated source code and compile!