C# Class Serenity.CodeGenerator.EntityCodeGenerator

Show file Open project: volkanceylan/Serenity

Public Methods

Method Description
EntityCodeGenerator ( EntityModel model, GeneratorConfig config ) : System
EntityCodeGenerator ( EntityModel model, GeneratorConfig config, string projectJson ) : System
Run ( ) : void

Private Methods

Method Description
BackupFile ( string file ) : string
CreateDirectoryOrBackupFile ( string file ) : string
CreateNewSiteScriptFile ( string code, string relativeFile, string dependentUpon = null ) : void
CreateNewSiteWebFile ( string code, string relativeFile, string dependentUpon = null ) : void
GenerateColumns ( ) : void
GenerateCss ( ) : void
GenerateEndpoint ( ) : void
GenerateForm ( ) : void
GeneratePageController ( ) : void
GeneratePageIndex ( ) : void
GenerateRepository ( ) : void
GenerateRow ( ) : void
GenerateScriptDialogSS ( ) : void
GenerateScriptDialogTS ( ) : void
GenerateScriptFormSS ( ) : void
GenerateScriptFormTS ( ) : void
GenerateScriptGridEditorDialogTS ( ) : void
GenerateScriptGridEditorTS ( ) : void
GenerateScriptGridSS ( ) : void
GenerateScriptGridTS ( ) : void
GenerateScriptRowSS ( ) : void
GenerateScriptRowTS ( ) : void
GenerateScriptServiceSS ( ) : void
GenerateScriptServiceTS ( ) : void
ScriptFileExists ( string relativeFile ) : bool

Method Details

EntityCodeGenerator() public method

public EntityCodeGenerator ( EntityModel model, GeneratorConfig config ) : System
model EntityModel
config GeneratorConfig
return System

EntityCodeGenerator() public method

public EntityCodeGenerator ( EntityModel model, GeneratorConfig config, string projectJson ) : System
model EntityModel
config GeneratorConfig
projectJson string
return System

Run() public method

public Run ( ) : void
return void