Skip to content

Magic Scaffolding

Magic edited this page Feb 27, 2025 · 1 revision

Welcome to the MagicEF.Scaffolding wiki!

Stable

Magic EF Scaffolding Protocol

The following arguments are to be utilized to achieve the main Magic EF scaffolding protocol.

--ambiguousIndex

--removeConstructors

--removeOnConfiguring

--scaffoldProtocol

--dbHelpers

--separateVirtualProperties

--initialSetup


Experimental

Everything below is labeled as experimental. The primary Magic EF protocol has been worked with for years which has brought a much higher level of confidence. The following capabilities extend the initial protocol capabilities and are part of the larger vision. But it's important to note that it may potentially change and are more prone to potential errors.


Share DTO Protocol

An addition to the primary protocol. Simply create a new class library. Your primary class library utilized for scaffolding will reference this new library, but not vice versa. Then Magic EF will automatically build connected interfaces, DTO's, extensions, and much more!

--initialShareSetupHandler

--shareScaffoldProtocolHandler


Migration Runner

This is currently hidden. You can request the code meaning you recognize it's extremely experimental and understand the risks! Migration Runner is a process that brings a very similar process as to Code First migrations to database first.

Clone this wiki locally