C# Class Widgetsphere.Generator.ProjectItemGenerators.SelectCommand.SelectCommandGeneratedTemplate

Inheritance: BaseClassTemplate
Datei anzeigen Open project: nHydrate/nHydrate Class Usage Examples

Public Methods

Method Description
AppendConstructor ( ) : void
AppendInitializeMethod ( ) : void
AppendMemberVariables ( ) : void
AppendUsingStatements ( ) : void
SelectCommandGeneratedTemplate ( ModelRoot model, Table currentTable ) : System

Protected Methods

Method Description
PrimaryKeyInputParameterList ( ) : string
PrimaryKeyParameterList ( ) : string

Private Methods

Method Description
AppendClass ( ) : void
AppendFullTemplate ( ) : void
AppendRegionPagedSelect ( ) : void
AppendRegionSearchable ( ) : void
AppendRegionSearchableSingleField ( Column column ) : void
AppendRegionSearchableSingleFieldRange ( Column column ) : void
AppendRegionSelectAll ( ) : void
AppendRegionSelectByChildTables ( ) : void

This generates a select command to get a child table from a loaded parent when the relationship is NOT based on a primary key. If the relationship is based on a primary key then the SelectBy[XXX]Pk procedure is called.

AppendRegionSelectByCustomRules ( ) : void
AppendRegionSelectByDates ( ) : void
AppendRegionSelectByForeignKeys ( ) : void
AppendRegionSelectByPks ( ) : void
AppendSearchClass ( ) : void
GenerateContent ( ) : void

Method Details

AppendConstructor() public method

public AppendConstructor ( ) : void
return void

AppendInitializeMethod() public method

public AppendInitializeMethod ( ) : void
return void

AppendMemberVariables() public method

public AppendMemberVariables ( ) : void
return void

AppendUsingStatements() public method

public AppendUsingStatements ( ) : void
return void

PrimaryKeyInputParameterList() protected method

protected PrimaryKeyInputParameterList ( ) : string
return string

PrimaryKeyParameterList() protected method

protected PrimaryKeyParameterList ( ) : string
return string

SelectCommandGeneratedTemplate() public method

public SelectCommandGeneratedTemplate ( ModelRoot model, Table currentTable ) : System
model ModelRoot
currentTable Table
return System