Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

The SDG is a command-line application that must be run from either the Windows Command Prompt or Windows PowerShell.

Full Command Line Arguments

Below is a list of currently available command line arguments for the SDG. You can get a list of arguments available to the application by running with the /? switch.

Run in Powershell
EdFi.SDG.vXX.exe /?


ArgumentDescriptionRequiredDefault
-c / -configXmlPathProvides the path to the XML configuration file for this run.Yes(none)
-d / -dataFilePathProvides the path to the input CSV data files.No.\DataFiles\
-m / -outputModeOne of {"Standard", "Seed"}. See further documentation about Seed Data.NoStandard
-o / -outputPathPath where output files should be saved. Note: this folder must already exist.No.\ (i.e. Current Directory)
-s / -seedFilePathPath to an input or output seed file. Used for running in seed output mode. See further documentation about Seed Data.No(none)
-w / -allowOverwriteIf provided, files in the outputPath can be overwritten with newly generated data.Nofalse


For example, a typical run of the SDG looks like this:

EdFi.SDG.vXX.exe -c C:\Ed-Fi\Samples\vXX\SampleDataGenerator\SampleConfig.xml -d C:\Ed-Fi\Samples\vXX\SampleDataGenerator\DataFiles\ -o C:\Temp\SDG\Output\


Outputting seed data:

EdFi.SDG.vXX.exe -c C:\Ed-Fi\Samples\vXX\SampleDataGenerator\SampleConfig.xml -d C:\Ed-Fi\Samples\vXX\SampleDataGenerator\DataFiles\ -o C:\Temp\SDG\Output\ -m Seed -s C:\Temp\SDG\SeedRecords.txt


Using seed data as input:

EdFi.SDG.vXX.exe -c C:\Ed-Fi\Samples\vXX\SampleDataGenerator\SampleConfig.xml -d C:\Ed-Fi\Samples\vXX\SampleDataGenerator\DataFiles\ -o C:\Temp\SDG\Output\ -s C:\Temp\SDG\SeedRecords.txt


Allowing output files to be overwritten (use with caution!):

EdFi.SDG.vXX.exe -c C:\Ed-Fi\Samples\vXX\SampleDataGenerator\SampleConfig.xml -d C:\Ed-Fi\Samples\vXX\SampleDataGenerator\DataFiles\ -o C:\Temp\SDG\Output\ -AllowOverwrite
Running EdFi.SampleDataGenerator.Console.exe

Please see instructions on Running the SDG.


  • No labels