Command line tool that splits FluentAPI entity definitions from DbContext.OnModelCreating()
into separate configuration files.
This tool can be used as a workaround for dotnet/efcore#8434.
-c, --dbcontext Required. Path the the DbContext file
-o, --outdir Output path for the generated configuration files
-n, --namespace Namespace for the generated configuration classes
-B, --no-backup Don't keep a copy of the original DbContext file
--help Display this help screen.
--version Display version information.
DbContextOnModelCreatingSplitter -c Data\MyContext.cs -o Data\Configurations -n MyNamespace.Data.Configurations
A backup of the original DbContext file is created by default.